Add boolean to PrintStackTraceOnErrorSignal to disable crash reporting.
[oota-llvm.git] / lib / Support / Windows / Signals.inc
index de6bf1c9583a0bf1c04ffb452067c79db3f55f0c..f070111a0e7ee5e06f957885dd87c393f1f59fbe 100644 (file)
@@ -389,7 +389,7 @@ void sys::DisableSystemDialogsOnCrash() {
 
 /// PrintStackTraceOnErrorSignal - When an error signal (such as SIBABRT or
 /// SIGSEGV) is delivered to the process, print a stack trace and then exit.
-void sys::PrintStackTraceOnErrorSignal() {
+void sys::PrintStackTraceOnErrorSignal(bool DisableCrashReporting) {
   DisableSystemDialogsOnCrash();
   RegisterHandler();
   LeaveCriticalSection(&CriticalSection);