summaryrefslogtreecommitdiff
path: root/lldb/source/Interpreter/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorJoerg Sonnenberger <joerg@bec.de>2014-03-20 01:23:55 +0000
committerJoerg Sonnenberger <joerg@bec.de>2014-03-20 01:23:55 +0000
commit1ed1a3d9944121dfe64781e427764012dc3711a2 (patch)
tree6493dbde321c5f414796c25b540c657e7dd0d4c0 /lldb/source/Interpreter/ScriptInterpreterPython.cpp
parentfcd974a1ed094ab5d73792c23b45421a428756f1 (diff)
Fix DW_CFA_GNU_args_size handling. The primary architecture using this
opcode is VAX. A function call pushes the number of arguments given onto the stack and "ret" will pop it automatically. The FDE of the caller contains the amount of stack space used for arguments (and possibly extra padding), so unwinding has to compensate for this when "returning" from a function. This is exactly the case when step() is done. The existing handling in unw_set_reg no longer makes sense. llvm-svn: 204290
Diffstat (limited to 'lldb/source/Interpreter/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions