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

Side by Side Diff: src/gdb-jit.h

Issue 1282503003: Remove several grab-bag includes from the v8.h header. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 4 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
OLDNEW
1 // Copyright 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_GDB_JIT_H_ 5 #ifndef V8_GDB_JIT_H_
6 #define V8_GDB_JIT_H_ 6 #define V8_GDB_JIT_H_
7 7
8 #include "src/v8.h" 8 #include "include/v8.h"
9 9
10 // 10 //
11 // GDB has two ways of interacting with JIT code. With the "JIT compilation 11 // GDB has two ways of interacting with JIT code. With the "JIT compilation
12 // interface", V8 can tell GDB when it emits JIT code. Unfortunately to do so, 12 // interface", V8 can tell GDB when it emits JIT code. Unfortunately to do so,
13 // it has to create platform-native object files, possibly with platform-native 13 // it has to create platform-native object files, possibly with platform-native
14 // debugging information. Currently only ELF and Mach-O are supported, which 14 // debugging information. Currently only ELF and Mach-O are supported, which
15 // limits this interface to Linux and Mac OS. This JIT compilation interface 15 // limits this interface to Linux and Mac OS. This JIT compilation interface
16 // was introduced in GDB 7.0. V8 support can be enabled with the --gdbjit flag. 16 // was introduced in GDB 7.0. V8 support can be enabled with the --gdbjit flag.
17 // 17 //
18 // The other way that GDB can know about V8 code is via the "custom JIT reader" 18 // The other way that GDB can know about V8 code is via the "custom JIT reader"
(...skipping 11 matching lines...) Expand all
30 #ifdef ENABLE_GDB_JIT_INTERFACE 30 #ifdef ENABLE_GDB_JIT_INTERFACE
31 // JitCodeEventHandler that creates ELF/Mach-O objects and registers them with 31 // JitCodeEventHandler that creates ELF/Mach-O objects and registers them with
32 // GDB. 32 // GDB.
33 void EventHandler(const v8::JitCodeEvent* event); 33 void EventHandler(const v8::JitCodeEvent* event);
34 #endif 34 #endif
35 } // namespace GDBJITInterface 35 } // namespace GDBJITInterface
36 } // namespace internal 36 } // namespace internal
37 } // namespace v8 37 } // namespace v8
38 38
39 #endif 39 #endif
OLDNEW
« no previous file with comments | « src/full-codegen/full-codegen.h ('k') | src/globals.h » ('j') | src/v8.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698