aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-objdump/llvm-objdump.cpp
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2022-10-11 15:20:59 +0300
committerMartin Storsjö <martin@martin.st>2022-10-15 00:40:13 +0300
commit6eb205b25771739f9bd54dd3a55af8dfa0776ef7 (patch)
treed1778099fd9a816e530e7a69c30ff421e4b54d52 /llvm/tools/llvm-objdump/llvm-objdump.cpp
parentb465a983168bf87dc269848c82ffc49ac8dbec20 (diff)
downloadllvm-6eb205b25771739f9bd54dd3a55af8dfa0776ef7.zip
llvm-6eb205b25771739f9bd54dd3a55af8dfa0776ef7.tar.gz
llvm-6eb205b25771739f9bd54dd3a55af8dfa0776ef7.tar.bz2
Reapply [AArch64] Fix aligning the stack after calling __chkstk
Whenever a call to __chkstk was made, the frame lowering previously omitted the aligning (as NumBytes was reset to zero before doing alignment). This fixes https://github.com/llvm/llvm-project/issues/56182. The initial version of this produced invalid code for small functions with no local stack allocations, if those functions were marked with the "stackrealign" attribute. If building with -mstack-alignment=16 (which otherwise mostly would be a no-op), this attribute is added on the main function. Differential Revision: https://reviews.llvm.org/D135687
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions