Implement changes from Chris's feedback.
[oota-llvm.git] / lib / VMCore / Verifier.cpp
index 6674acb79de577557f1b2295837b8b1619aff8e1..da3fed0ff3c0c10593893cb702b1c5832581b9b2 100644 (file)
@@ -211,7 +211,9 @@ namespace {
       default: assert(0 && "Unknown action");
       case AbortProcessAction:
         msgs << "compilation aborted!\n";
-        llvm_report_error(msgs.str());
+        cerr << msgs.str();
+        // Client should choose different reaction if abort is not desired
+        abort();
       case PrintMessageAction:
         msgs << "verification continues.\n";
         cerr << msgs.str();