summaryrefslogtreecommitdiffstats
path: root/include/llvm
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm')
-rw-r--r--include/llvm/System/Signals.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/System/Signals.h b/include/llvm/System/Signals.h
index dff849c..211cf11 100644
--- a/include/llvm/System/Signals.h
+++ b/include/llvm/System/Signals.h
@@ -24,6 +24,9 @@ namespace llvm {
///
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