summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorKeith Walker <keith.walker@arm.com>2020-03-26 09:40:28 +0000
committerKeith Walker <keith.walker@arm.com>2020-04-07 11:51:59 +0100
commit01dc10774eb87bc2f114a0e2d77083dbec62226b (patch)
treecafc26bc1c175ce85a068bb822b38bf453850659 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent08fab9ebecf72a682279d75489dc2460121cbeed (diff)
[ARM] unwinding .pad instructions missing in execute-only prologue
If the stack pointer is altered for local variables and we are generating Thumb2 execute-only code the .pad directive is missing. Usually the size of the adjustment is stored in a PC-relative location and loaded into a register which is then added to the stack pointer. However when we are generating execute-only code code the size of the adjustment is instead generated using the MOVW/MOVT instruction pair. As a by product of handling the execute-only case this also fixes an existing issue that in the none execute-only case the .pad directive was generated against the load of the constant to a register instruction, instead of the instruction which adds the register to the stack pointer. Differential Revision: https://reviews.llvm.org/D76849
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions