diff options
Diffstat (limited to 'runtime/jit/debugger_interface.h')
-rw-r--r-- | runtime/jit/debugger_interface.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/jit/debugger_interface.h b/runtime/jit/debugger_interface.h index 5bb4682d6c..19507b0f9a 100644 --- a/runtime/jit/debugger_interface.h +++ b/runtime/jit/debugger_interface.h @@ -27,6 +27,7 @@ namespace art { class DexFile; +class Mutex; class Thread; // This method is declared in the compiler library. @@ -60,6 +61,11 @@ void RemoveNativeDebugInfoForJit(Thread* self, const void* code_ptr); // Returns approximate memory used by debug info for JIT code. size_t GetJitMiniDebugInfoMemUsage(); +// Get the lock which protects the native debug info. +// Used only in tests to unwind while the JIT thread is running. +// TODO: Unwinding should be race-free. Remove this. +Mutex* GetNativeDebugInfoLock(); + } // namespace art #endif // ART_RUNTIME_JIT_DEBUGGER_INTERFACE_H_ |