summaryrefslogtreecommitdiffstats
path: root/include/llvm
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-02-19 20:03:08 +0000
committerChris Lattner <sabre@nondot.org>2004-02-19 20:03:08 +0000
commit9717ee9e6c4bc8d71561d46b6914dc0ae300bbc3 (patch)
tree0dc62176a78e9c1ac78e1bbfdc4cb8a3dfa0b676 /include/llvm
parentd195e99bc8c6ca5fed506239e298d023df20e942 (diff)
downloadexternal_llvm-9717ee9e6c4bc8d71561d46b6914dc0ae300bbc3.zip
external_llvm-9717ee9e6c4bc8d71561d46b6914dc0ae300bbc3.tar.gz
external_llvm-9717ee9e6c4bc8d71561d46b6914dc0ae300bbc3.tar.bz2
Add a new function
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11630 91177308-0d34-0410-b5e6-96231b3b80d8
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