diff options
author | 2019-10-02 17:59:23 +0100 | |
---|---|---|
committer | 2019-10-08 13:43:16 +0000 | |
commit | 444e998f5987007bd2783b4d88a9970d1a17736f (patch) | |
tree | ef8a93058e973c2c0cf022ea2265679cbb783580 /runtime/jit/jit_code_cache.h | |
parent | 44ab2cd97c7f4086013a766f442d2f9f619efcc8 (diff) |
JIT mini-debug-info: Generate the debug info sooner.
We need to add the debug info before the entry-point is set,
otherwise there is window of time when we are missing it.
Test: test.py -b -r --optimizing --jit --host --64
Change-Id: I3bbad0c96d68e9603bac131faee498b8b9f62699
Diffstat (limited to 'runtime/jit/jit_code_cache.h')
-rw-r--r-- | runtime/jit/jit_code_cache.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/runtime/jit/jit_code_cache.h b/runtime/jit/jit_code_cache.h index ea7614b6da..ace851f43b 100644 --- a/runtime/jit/jit_code_cache.h +++ b/runtime/jit/jit_code_cache.h @@ -197,7 +197,8 @@ class JitCodeCache { const std::vector<Handle<mirror::Object>>& roots, bool osr, bool has_should_deoptimize_flag, - const ArenaSet<ArtMethod*>& cha_single_implementation_list) + const ArenaSet<ArtMethod*>& cha_single_implementation_list, + const std::function<void(const uint8_t* code)>& generate_debug_info) REQUIRES_SHARED(Locks::mutator_lock_) REQUIRES(!Locks::jit_lock_); @@ -369,7 +370,8 @@ class JitCodeCache { const std::vector<Handle<mirror::Object>>& roots, bool osr, bool has_should_deoptimize_flag, - const ArenaSet<ArtMethod*>& cha_single_implementation_list) + const ArenaSet<ArtMethod*>& cha_single_implementation_list, + const std::function<void(const uint8_t* code)>& generate_debug_info) REQUIRES(!Locks::jit_lock_) REQUIRES_SHARED(Locks::mutator_lock_); |