diff options
author | 2019-08-19 21:31:31 +0100 | |
---|---|---|
committer | 2019-08-28 10:24:35 +0000 | |
commit | e09b87eb8d8c063ddaee53a70b4bc8dbf61ff66c (patch) | |
tree | df53a0996b9ae47422f4661edc2d7998cc57ba95 /runtime/jit/jit.h | |
parent | c88c1d0fbbc4bc230f08fd1e0fe7b652519c9236 (diff) |
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
Diffstat (limited to 'runtime/jit/jit.h')
-rw-r--r-- | runtime/jit/jit.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/jit/jit.h b/runtime/jit/jit.h index 3a103f5fd2..13a9c7b728 100644 --- a/runtime/jit/jit.h +++ b/runtime/jit/jit.h @@ -177,7 +177,7 @@ class JitCompilerInterface { virtual bool GenerateDebugInfo() = 0; virtual void ParseCompilerOptions() = 0; - virtual std::vector<uint8_t> PackElfFileForJIT(ArrayRef<JITCodeEntry*> elf_files, + virtual std::vector<uint8_t> PackElfFileForJIT(ArrayRef<const JITCodeEntry*> elf_files, ArrayRef<const void*> removed_symbols, bool compress, /*out*/ size_t* num_symbols) = 0; |