diff options
author | David Srbecky <dsrbecky@google.com> | 2015-04-07 20:29:48 +0100 |
---|---|---|
committer | David Srbecky <dsrbecky@google.com> | 2015-04-08 16:36:27 +0100 |
commit | dd97393aca1a3ff2abec4dc4f78d7724300971bc (patch) | |
tree | eed7360a80b7543ec7962b47feb7df0d1a8d438e /compiler/utils/assembler.cc | |
parent | 1109fb3cacc8bb667979780c2b4b12ce5bb64549 (diff) | |
download | art-dd97393aca1a3ff2abec4dc4f78d7724300971bc.tar.gz art-dd97393aca1a3ff2abec4dc4f78d7724300971bc.tar.bz2 art-dd97393aca1a3ff2abec4dc4f78d7724300971bc.zip |
Implement CFI for JNI.
CFI is necessary for stack unwinding in gdb, lldb, and libunwind.
Change-Id: I37eb7973f99a6975034cf0e699e138c3a9aba10f
Diffstat (limited to 'compiler/utils/assembler.cc')
-rw-r--r-- | compiler/utils/assembler.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/utils/assembler.cc b/compiler/utils/assembler.cc index 5340dd3a2..36342c61c 100644 --- a/compiler/utils/assembler.cc +++ b/compiler/utils/assembler.cc @@ -105,6 +105,9 @@ void AssemblerBuffer::ExtendCapacity() { CHECK_EQ(Size(), old_size); } +void DebugFrameOpCodeWriterForAssembler::ImplicitlyAdvancePC() { + this->AdvancePC(assembler_->CodeSize()); +} Assembler* Assembler::Create(InstructionSet instruction_set) { switch (instruction_set) { |