[PATCH] D52099: [PPC64] Add split-stack support.

Sean Fertile via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 18 19:09:15 PDT 2018


sfertile updated this revision to Diff 166062.
sfertile added a comment.
Herald added a subscriber: jsji.

- Added an explanation of  the expected prologue instructions and how the linker is supposed to modify them.
- Add check for overflow on the adjusted stack size
- Add check that the register operands are the expected ones.
- Changed global-entry to local-entry offset calculation to use new helper function.


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-fail.s
  test/ELF/ppc64-split-stack-adjust-overflow.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.166062.patch
Type: text/x-patch
Size: 25941 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180919/34535db6/attachment.bin>


More information about the llvm-commits mailing list