[Lldb-commits] [PATCH] D11947: Improve instruction emulation based stack unwinding

Tamas Berghammer via lldb-commits lldb-commits at lists.llvm.org
Tue Aug 11 10:16:07 PDT 2015


tberghammer created this revision.
tberghammer added a reviewer: jasonmolenda.
tberghammer added a subscriber: lldb-commits.
Herald added a subscriber: aemerson.

Improve instruction emulation based stack unwinding

On ARM there is no difference between a pop and a load instruction so
a register can be loaded multiple times during the function. Add check
to threat the load as a restore only if it do the restore from the
same location where the register was saved.

http://reviews.llvm.org/D11947

Files:
  source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp
  source/Plugins/Instruction/ARM64/EmulateInstructionARM64.cpp
  source/Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11947.31827.patch
Type: text/x-patch
Size: 6007 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150811/c28e81dd/attachment.bin>


More information about the lldb-commits mailing list