summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonExceptionState.h
diff options
context:
space:
mode:
authorFrancis Visoiu Mistrih <francisvm@yahoo.com>2018-04-10 11:29:40 +0000
committerFrancis Visoiu Mistrih <francisvm@yahoo.com>2018-04-10 11:29:40 +0000
commitf2c22050e8211f2c768e9ff2bb50c902ec8ac078 (patch)
tree65d2acf0c967f2a991afb2d3de911eccb18e5e40 /lldb/source/Plugins/ScriptInterpreter/Python/PythonExceptionState.h
parent7190a4692ac65c9a5decaf62d403d68ac094dd0c (diff)
downloadbcm5719-llvm-f2c22050e8211f2c768e9ff2bb50c902ec8ac078.tar.gz
bcm5719-llvm-f2c22050e8211f2c768e9ff2bb50c902ec8ac078.zip
[AArch64] Use FP to access the emergency spill slot
In the presence of variable-sized stack objects, we always picked the base pointer when resolving frame indices if it was available. This makes us hit an assert where we can't reach the emergency spill slot if it's too far away from the base pointer. Since on AArch64 we decide to place the emergency spill slot at the top of the frame, it makes more sense to use FP to access it. The changes here don't affect only emergency spill slots but all the frame indices. The goal here is to try to choose between FP, BP and SP so that we minimize the offset and avoid scavenging, or worse, asserting when trying to access a slot allocated by the scavenger. Previously discussed here: https://reviews.llvm.org/D40876. Differential Revision: https://reviews.llvm.org/D45358 llvm-svn: 329691
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonExceptionState.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud