Recommitting https://reviews.llvm.org/rL344544 after fixing undefined behavior from left-shifting a negative value. Original commit message: This support is slightly different then the X86_64 implementation in that calls to __morestack don't need to get rewritten to calls to __moresatck_non_split when a split-stack caller calls a non-split-stack callee. Instead the size of the stack frame requested by the caller is adjusted prior to the call to __morestack. The size the stack-frame will be adjusted by is tune-able through a new --split-stack-adjust-size option. llvm-svn: 344622
9 lines
137 B
ArmAsm
9 lines
137 B
ArmAsm
.abiversion 2
|
|
.p2align 2
|
|
.global nss_callee
|
|
.type nss_callee, @function
|
|
nss_callee:
|
|
li 3, 1
|
|
blr
|
|
|