From e09b87eb8d8c063ddaee53a70b4bc8dbf61ff66c Mon Sep 17 00:00:00 2001 From: David Srbecky Date: Mon, 19 Aug 2019 21:31:31 +0100 Subject: JIT mini-debug-info: Support JIT data dual mapping. Ensure that we can add/remove mini-debug-info if the JIT data is read-only and we need to use the other mapping for writes. Pointers into the read-only memory are marked as "const". Test: "test.py -b --host --jit" with data dual mapping Test: device boots with data dual mapping Bug: 119800099 Change-Id: I9399cffbe5ae13f08f698ab1598c30f13545a767 --- runtime/jit/debugger_interface.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/jit/debugger_interface.h') diff --git a/runtime/jit/debugger_interface.h b/runtime/jit/debugger_interface.h index 55a9137e1f..0bb3236870 100644 --- a/runtime/jit/debugger_interface.h +++ b/runtime/jit/debugger_interface.h @@ -32,7 +32,7 @@ class Mutex; class Thread; struct JITCodeEntry; -ArrayRef GetJITCodeEntrySymFile(JITCodeEntry*); +ArrayRef GetJITCodeEntrySymFile(const JITCodeEntry*); // Notify native tools (e.g. libunwind) that DEX file has been opened. void AddNativeDebugInfoForDex(Thread* self, const DexFile* dexfile); -- cgit v1.2.3-59-g8ed1b