diff --git a/llvm/include/Support/Signals.h b/llvm/include/Support/Signals.h index dff849cfbb00..211cf111be26 100644 --- a/llvm/include/Support/Signals.h +++ b/llvm/include/Support/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