Classify functions by EH personality type rather than using the triple
[oota-llvm.git] / lib / CodeGen / Passes.cpp
index 88cee03fa161866fb658201476d471dc39f14a1a..0797f2335c29f3fa3b97155c12bf4bacada8cc64 100644 (file)
@@ -447,8 +447,7 @@ void TargetPassConfig::addPassesToHandleExceptions() {
     // FALLTHROUGH
   case ExceptionHandling::DwarfCFI:
   case ExceptionHandling::ARM:
-  case ExceptionHandling::ItaniumWinEH:
-  case ExceptionHandling::MSVC: // FIXME: Needs preparation.
+  case ExceptionHandling::WinEH:
     addPass(createDwarfEHPass(TM));
     break;
   case ExceptionHandling::None: