diff options
author | David Srbecky <dsrbecky@google.com> | 2015-04-07 20:32:43 +0100 |
---|---|---|
committer | David Srbecky <dsrbecky@google.com> | 2015-04-09 16:47:50 +0100 |
commit | c6b4dd8980350aaf250f0185f73e9c42ec17cd57 (patch) | |
tree | ef8d73e37abc04aecb430072a8bc463c73398fee /compiler/compiled_method.h | |
parent | dd97393aca1a3ff2abec4dc4f78d7724300971bc (diff) | |
download | art-c6b4dd8980350aaf250f0185f73e9c42ec17cd57.tar.gz art-c6b4dd8980350aaf250f0185f73e9c42ec17cd57.tar.bz2 art-c6b4dd8980350aaf250f0185f73e9c42ec17cd57.zip |
Implement CFI for Optimizing.
CFI is necessary for stack unwinding in gdb, lldb, and libunwind.
Change-Id: I1a3480e3a4a99f48bf7e6e63c4e83a80cfee40a2
Diffstat (limited to 'compiler/compiled_method.h')
-rw-r--r-- | compiler/compiled_method.h | 21 |
1 files changed, 2 insertions, 19 deletions
diff --git a/compiler/compiled_method.h b/compiler/compiled_method.h index 506b47b68..480d021db 100644 --- a/compiler/compiled_method.h +++ b/compiler/compiled_method.h @@ -320,7 +320,7 @@ class CompiledMethod FINAL : public CompiledCode { const ArrayRef<const uint8_t>& vmap_table, const ArrayRef<const uint8_t>& native_gc_map, const ArrayRef<const uint8_t>& cfi_info, - const ArrayRef<const LinkerPatch>& patches = ArrayRef<const LinkerPatch>()); + const ArrayRef<const LinkerPatch>& patches); virtual ~CompiledMethod(); @@ -336,24 +336,7 @@ class CompiledMethod FINAL : public CompiledCode { const ArrayRef<const uint8_t>& vmap_table, const ArrayRef<const uint8_t>& native_gc_map, const ArrayRef<const uint8_t>& cfi_info, - const ArrayRef<const LinkerPatch>& patches = ArrayRef<const LinkerPatch>()); - - static CompiledMethod* SwapAllocCompiledMethodStackMap( - CompilerDriver* driver, - InstructionSet instruction_set, - const ArrayRef<const uint8_t>& quick_code, - const size_t frame_size_in_bytes, - const uint32_t core_spill_mask, - const uint32_t fp_spill_mask, - const ArrayRef<const uint8_t>& stack_map); - - static CompiledMethod* SwapAllocCompiledMethodCFI(CompilerDriver* driver, - InstructionSet instruction_set, - const ArrayRef<const uint8_t>& quick_code, - const size_t frame_size_in_bytes, - const uint32_t core_spill_mask, - const uint32_t fp_spill_mask, - const ArrayRef<const uint8_t>& cfi_info); + const ArrayRef<const LinkerPatch>& patches); static void ReleaseSwapAllocatedCompiledMethod(CompilerDriver* driver, CompiledMethod* m); |