Add a new function
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11630 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/include/Support/Signals.h b/include/Support/Signals.h
index dff849c..211cf11 100644
--- a/include/Support/Signals.h
+++ b/include/Support/Signals.h
@@ -24,6 +24,9 @@
///
void RemoveFileOnSignal(const std::string &Filename);
+ /// PrintStackTraceOnErrorSignal - When an error signal (such as SIBABRT or
+ /// SIGSEGV) is delivered to the process, print a stack trace and then exit.
+ void PrintStackTraceOnErrorSignal();
} // End llvm namespace
#endif