Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(188)

Side by Side Diff: runtime/vm/gdbjit_openbsd.cc

Issue 1559053002: Refs #10260 OpenBSD support #25327 Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Address code review issues Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « runtime/vm/gdbjit_openbsd.h ('k') | runtime/vm/native_symbol_openbsd.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include "vm/globals.h" 5 #include "vm/globals.h"
6 #if defined(TARGET_OS_ANDROID) 6 #if defined(TARGET_OS_OPENBSD)
7 7
8 #include <stdint.h> // NOLINT 8 #include <stdint.h> // NOLINT
9 #include <stdio.h> // NOLINT 9 #include <stdio.h> // NOLINT
10 #include <stdlib.h> // NOLINT 10 #include <stdlib.h> // NOLINT
11 11
12 #include "vm/gdbjit_android.h" 12 #include "vm/gdbjit_openbsd.h"
13 13
14 extern "C" { 14 extern "C" {
15 typedef enum { 15 typedef enum {
16 JIT_NOACTION = 0, 16 JIT_NOACTION = 0,
17 JIT_REGISTER_FN, 17 JIT_REGISTER_FN,
18 JIT_UNREGISTER_FN 18 JIT_UNREGISTER_FN
19 } jit_actions_t; 19 } jit_actions_t;
20 20
21 struct jit_code_entry { 21 struct jit_code_entry {
22 struct jit_code_entry* next_entry; 22 struct jit_code_entry* next_entry;
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 __jit_debug_descriptor.relevant_entry = iterator; 74 __jit_debug_descriptor.relevant_entry = iterator;
75 __jit_debug_descriptor.first_entry = first_dynamic_region; 75 __jit_debug_descriptor.first_entry = first_dynamic_region;
76 __jit_debug_register_code(); 76 __jit_debug_register_code();
77 iterator = iterator->prev_entry; 77 iterator = iterator->prev_entry;
78 } 78 }
79 first_dynamic_region = NULL; 79 first_dynamic_region = NULL;
80 last_dynamic_region = NULL; 80 last_dynamic_region = NULL;
81 } 81 }
82 }; 82 };
83 83
84 #endif // defined(TARGET_OS_ANDROID) 84 #endif // defined(TARGET_OS_OPENBSD)
OLDNEW
« no previous file with comments | « runtime/vm/gdbjit_openbsd.h ('k') | runtime/vm/native_symbol_openbsd.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698