[LLDB] [ARM] Use r11 as frame pointer on Windows on ARM
authorMartin Storsjö <martin@martin.st>
Tue, 15 Oct 2019 21:08:28 +0000 (00:08 +0300)
committerMartin Storsjö <martin@martin.st>
Fri, 29 Nov 2019 14:06:17 +0000 (16:06 +0200)
commit45c843de4eb8a0d2aa42543b4fcfefcbca4191d8
tree69a705dff5e8fb75fbcfc44cd3ebdb0fc511c114
parent8059188c45f049b52b779d6684ea78b6ef8b168c
[LLDB] [ARM] Use r11 as frame pointer on Windows on ARM

Extend EmulateMOVRdRm to identify "mov r11, sp" in thumb mode as
setting the frame pointer, if r11 is the frame pointer register.

Differential Revision: https://reviews.llvm.org/D70797
lldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp
lldb/test/Shell/Minidump/Windows/Inputs/arm-fp-unwind.dmp.yaml [new file with mode: 0644]
lldb/test/Shell/Minidump/Windows/Inputs/arm-fp-unwind.exe.yaml [new file with mode: 0644]
lldb/test/Shell/Minidump/Windows/arm-fp-unwind.test [new file with mode: 0644]