Skip to content
Commit 1ed1a3d9 authored by Joerg Sonnenberger's avatar Joerg Sonnenberger
Browse files

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
parent fcd974a1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment