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 | 91ed799eb4b0851f1a19251f153fb4fc09395bcb (patch) | |
tree | ae31fa84d933e4c5726d3866e3ce32501b133904 /llvm/lib/CodeGen/LLVMTargetMachine.cpp | |
parent | 787dfadc7c82e60a00603e9db2d602cecda07e30 (diff) | |
download | bcm5719-llvm-91ed799eb4b0851f1a19251f153fb4fc09395bcb.tar.gz bcm5719-llvm-91ed799eb4b0851f1a19251f153fb4fc09395bcb.zip |
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!
llvm-svn: 132234
Diffstat (limited to 'llvm/lib/CodeGen/LLVMTargetMachine.cpp')
-rw-r--r-- | llvm/lib/CodeGen/LLVMTargetMachine.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/LLVMTargetMachine.cpp b/llvm/lib/CodeGen/LLVMTargetMachine.cpp index 0b9821c637d..589d0a9a671 100644 --- a/llvm/lib/CodeGen/LLVMTargetMachine.cpp +++ b/llvm/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: |