[PATCH] D52099: [PPC64] Add split-stack support.
Sean Fertile via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 14 08:27:04 PDT 2018
sfertile created this revision.
sfertile added reviewers: ruiu, syzaara, saugustine.
Herald added subscribers: llvm-commits, kbarton, arichardson, nemanjai, emaste.
Herald added a reviewer: espindola.
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.
Repository:
rLLD LLVM Linker
https://reviews.llvm.org/D52099
Files:
ELF/Arch/PPC64.cpp
ELF/Arch/X86_64.cpp
ELF/Config.h
ELF/Driver.cpp
ELF/InputSection.cpp
ELF/Options.td
ELF/Target.cpp
ELF/Target.h
test/ELF/Inputs/ppc64-no-split-stack.s
test/ELF/ppc64-split-stack-adjust-size-success.s
test/ELF/ppc64-split-stack-prologue-adjust-success.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52099.165494.patch
Type: text/x-patch
Size: 19123 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180914/23c546c6/attachment-0001.bin>
More information about the llvm-commits
mailing list