Add boolean to PrintStackTraceOnErrorSignal to disable crash reporting.
[oota-llvm.git] / utils / unittest / UnitTestMain / TestMain.cpp
index 5387512e6fb54546aba2c82c0e000d344fc9714b..f5b09a5cf67358a39f8a9329d2aa4fa5f64ae2bb 100644 (file)
@@ -23,7 +23,7 @@
 const char *TestMainArgv0;
 
 int main(int argc, char **argv) {
-  llvm::sys::PrintStackTraceOnErrorSignal();
+  llvm::sys::PrintStackTraceOnErrorSignal(true /* Disable crash reporting */);
   testing::InitGoogleTest(&argc, argv);
   llvm::cl::ParseCommandLineOptions(argc, argv);