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
diff --git a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
index d8a7ac3..5617a0f 100644
--- a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
@@ -199,6 +199,9 @@
case ExceptionHandling::ARM:
DE = new ARMException(this);
return false;
+ case ExceptionHandling::Win64:
+ DE = new Win64Exception(this);
+ return false;
}
llvm_unreachable("Unknown exception type.");