diff options
author | Daniel Frampton <Daniel.Frampton@microsoft.com> | 2020-03-31 13:11:16 -0700 |
---|---|---|
committer | Eli Friedman <efriedma@quicinc.com> | 2020-03-31 14:21:18 -0700 |
commit | 522b4c4b88a5606b0074926e8658e7fede97c230 (patch) | |
tree | a543e8d283d1a1c7bd478ac878c0c9d2950715b5 /llvm/lib/Object/ObjectFile.cpp | |
parent | 9b3bf72a0d7918601e8005554592fcb4949a822e (diff) | |
download | llvm-522b4c4b88a5606b0074926e8658e7fede97c230.zip llvm-522b4c4b88a5606b0074926e8658e7fede97c230.tar.gz llvm-522b4c4b88a5606b0074926e8658e7fede97c230.tar.bz2 |
[AArch64] Fix mismatch in prologue and epilogue for funclets on Windows
The generated code for a funclet can have an add to sp in the epilogue
for which there is no corresponding sub in the prologue.
This patch removes the early return from emitPrologue that was
preventing the sub to sp, and instead conditionalizes the appropriate
parts of the rest of the function.
Fixes https://bugs.llvm.org/show_bug.cgi?id=45345
Differential Revision: https://reviews.llvm.org/D77015
Diffstat (limited to 'llvm/lib/Object/ObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions