aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AsmPrinter/WinException.cpp
diff options
context:
space:
mode:
authortentzen <tentzen@microsoft.com>2022-12-02 02:42:43 -0800
committertentzen <tentzen@microsoft.com>2022-12-02 02:44:18 -0800
commitdb6a979ae82410e42430e47afa488936ba8e3025 (patch)
treecb35e4007402d2e8590ace504cee3b8f21d5e489 /llvm/lib/CodeGen/AsmPrinter/WinException.cpp
parentc8e15afa4caf74f0d8281ca3e44674f1f6c1bc52 (diff)
downloadllvm-db6a979ae82410e42430e47afa488936ba8e3025.zip
llvm-db6a979ae82410e42430e47afa488936ba8e3025.tar.gz
llvm-db6a979ae82410e42430e47afa488936ba8e3025.tar.bz2
Revert "[Windows SEH]: HARDWARE EXCEPTION HANDLING (MSVC -EHa) - Part 2"
This reverts commit 1a949c871ab4a6b6d792849d3e8c0fa6958d27f5.
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/WinException.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/WinException.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/WinException.cpp b/llvm/lib/CodeGen/AsmPrinter/WinException.cpp
index 4dc0983..2f1f15e 100644
--- a/llvm/lib/CodeGen/AsmPrinter/WinException.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/WinException.cpp
@@ -770,11 +770,7 @@ void WinException::emitCXXFrameHandler3Table(const MachineFunction *MF) {
OS.emitInt32(0);
AddComment("EHFlags");
- if (MMI->getModule()->getModuleFlag("eh-asynch")) {
- OS.emitInt32(0);
- } else {
- OS.emitInt32(1);
- }
+ OS.emitInt32(1);
// UnwindMapEntry {
// int32_t ToState;