summaryrefslogtreecommitdiffstats
path: root/include/llvm/Support/PrettyStackTrace.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Support/PrettyStackTrace.h')
-rw-r--r--include/llvm/Support/PrettyStackTrace.h6
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
OpenPOWER on IntegriCloud