diff options
author | Charles Davis <cdavis@mines.edu> | 2011-05-27 23:47:32 +0000 |
---|---|---|
committer | Charles Davis <cdavis@mines.edu> | 2011-05-27 23:47:32 +0000 |
commit | d652b1368b1e381382951f450e5eeca870d91dd6 (patch) | |
tree | 4d4254dc46aa4d98c561029e2da249d2c009e3c4 /lib/CodeGen/LLVMTargetMachine.cpp | |
parent | be64b394317feb8d7bcb732bdfb35e0b286efd4c (diff) |
Stub out support for Win64-style exceptions. Note that this is merely using
the Win64 EH mechanism to implement GCC-style exceptions. LLVM supports
hardly anything else at this point!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132234 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LLVMTargetMachine.cpp')
-rw-r--r-- | lib/CodeGen/LLVMTargetMachine.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/LLVMTargetMachine.cpp b/lib/CodeGen/LLVMTargetMachine.cpp index 0b9821c637..589d0a9a67 100644 --- a/lib/CodeGen/LLVMTargetMachine.cpp +++ b/lib/CodeGen/LLVMTargetMachine.cpp @@ -329,6 +329,7 @@ bool LLVMTargetMachine::addCommonCodeGenPasses(PassManagerBase &PM, // FALLTHROUGH case ExceptionHandling::DwarfCFI: case ExceptionHandling::ARM: + case ExceptionHandling::Win64: PM.add(createDwarfEHPass(this)); break; case ExceptionHandling::None: |