diff options
author | Daniel Frampton <Daniel.Frampton@microsoft.com> | 2020-03-31 13:11:16 -0700 |
---|---|---|
committer | Tom Stellard <tstellar@redhat.com> | 2020-06-25 16:19:14 -0700 |
commit | 69fb858731e857abcabe74dcf6db344030ca650b (patch) | |
tree | 5b66af9a7b64c38321143f0b4b0b474a277c7027 /clang/lib/Serialization/ModuleManager.cpp | |
parent | 04b0a4e22e3b4549f9d241f8a9f37eebecb62a31 (diff) | |
download | bcm5719-llvm-69fb858731e857abcabe74dcf6db344030ca650b.tar.gz bcm5719-llvm-69fb858731e857abcabe74dcf6db344030ca650b.zip |
[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
(cherry picked from commit 522b4c4b88a5606b0074926e8658e7fede97c230)
Diffstat (limited to 'clang/lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions