diff options
author | Hiroshi Yamauchi <hjyamauchi@gmail.com> | 2023-08-30 15:36:47 -0700 |
---|---|---|
committer | Hiroshi Yamauchi <hjyamauchi@gmail.com> | 2023-08-31 12:43:26 -0700 |
commit | 8942d3047c684af800da7c75566210725f1cfe84 (patch) | |
tree | 6040a94136a421e820a92df098a84e7d41aaa53e /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | 6813ef37377e8d8fadf6efe01e1ed80cc53b9c86 (diff) | |
download | llvm-8942d3047c684af800da7c75566210725f1cfe84.zip llvm-8942d3047c684af800da7c75566210725f1cfe84.tar.gz llvm-8942d3047c684af800da7c75566210725f1cfe84.tar.bz2 |
[AArch64][WinCFI] Handle cases where no SEH opcodes in the prologue
but there are some in the epilogue.
Make a decision whether or not to have a startepilogue/endepilogue
based on whether we actually insert SEH opcodes in the epilogue,
rather than whether we had SEH opcodes in the prologue or not.
This fixes an assert failure when there are no SEH opcodes in the
prologue but there are SEH opcodes in the epilogue (for example, when
there is no stack frame but there are stack arguments) which was not
covered in https://reviews.llvm.org/D88641.
Assertion failed: HasWinCFI == MF.hasWinCFI(), file C:\Users\hiroshi\llvm-project\llvm\lib\Target\AArch64\AArch64FrameLowering.cpp, line 1988
Differential Revision: https://reviews.llvm.org/D159238
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions