summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
diff options
context:
space:
mode:
authorCharles Davis <cdavis@mines.edu>2011-05-27 23:47:32 +0000
committerCharles Davis <cdavis@mines.edu>2011-05-27 23:47:32 +0000
commit91ed799eb4b0851f1a19251f153fb4fc09395bcb (patch)
treeae31fa84d933e4c5726d3866e3ce32501b133904 /llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
parent787dfadc7c82e60a00603e9db2d602cecda07e30 (diff)
downloadbcm5719-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/AsmPrinter/AsmPrinter.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
index d8a7ac3b44e..5617a0fa4bd 100644
--- a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
@@ -199,6 +199,9 @@ bool AsmPrinter::doInitialization(Module &M) {
case ExceptionHandling::ARM:
DE = new ARMException(this);
return false;
+ case ExceptionHandling::Win64:
+ DE = new Win64Exception(this);
+ return false;
}
llvm_unreachable("Unknown exception type.");
OpenPOWER on IntegriCloud