diff options
author | Chris Lattner <sabre@nondot.org> | 2009-07-16 06:17:45 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-07-16 06:17:45 +0000 |
commit | 7c590a1e7a8eb961182de90555ac5fabe9791576 (patch) | |
tree | efef596bd2dfbe27b116a3455b40d216fa6bb788 /include/llvm/Support/PrettyStackTrace.h | |
parent | 7aca152472cd2b0dba689e419764ac0dc781011e (diff) | |
download | external_llvm-7c590a1e7a8eb961182de90555ac5fabe9791576.zip external_llvm-7c590a1e7a8eb961182de90555ac5fabe9791576.tar.gz external_llvm-7c590a1e7a8eb961182de90555ac5fabe9791576.tar.bz2 |
add a knob to turn off PrettyStackTrace globally. Patch by Zoltan
Varga!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75897 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/PrettyStackTrace.h')
-rw-r--r-- | include/llvm/Support/PrettyStackTrace.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/llvm/Support/PrettyStackTrace.h b/include/llvm/Support/PrettyStackTrace.h index 909d286..0db84e1 100644 --- a/include/llvm/Support/PrettyStackTrace.h +++ b/include/llvm/Support/PrettyStackTrace.h @@ -18,6 +18,12 @@ namespace llvm { class raw_ostream; + + /// DisablePrettyStackTrace - Set this to true to disable this module. This + /// might be neccessary if the host application installs its own signal + /// handlers which conflict with the ones installed by this module. + /// Defaults to false. + extern bool DisablePrettyStackTrace; /// PrettyStackTraceEntry - This class is used to represent a frame of the /// "pretty" stack trace that is dumped when a program crashes. You can define |