diff options
author | Chris Lattner <sabre@nondot.org> | 2004-02-19 20:03:08 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-02-19 20:03:08 +0000 |
commit | 9717ee9e6c4bc8d71561d46b6914dc0ae300bbc3 (patch) | |
tree | 0dc62176a78e9c1ac78e1bbfdc4cb8a3dfa0b676 /include/llvm | |
parent | d195e99bc8c6ca5fed506239e298d023df20e942 (diff) | |
download | external_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.h | 3 |
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 |