LLVM  8.0.1
Namespaces | Typedefs | Functions
Signals.h File Reference
#include <string>
Include dependency graph for Signals.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 llvm
 This class represents lattice values for constants.
 
 llvm::sys
 

Typedefs

using llvm::sys::SignalHandlerCallback = void(*)(void *)
 

Functions

void llvm::sys::RunInterruptHandlers ()
 This function runs all the registered interrupt handlers, including the removal of files registered by RemoveFileOnSignal. More...
 
bool llvm::sys::RemoveFileOnSignal (StringRef Filename, std::string *ErrMsg=nullptr)
 This function registers signal handlers to ensure that if a signal gets delivered that the named file is removed. More...
 
void llvm::sys::DontRemoveFileOnSignal (StringRef Filename)
 This function removes a file from the list of files to be removed on signal delivery. More...
 
void llvm::sys::PrintStackTraceOnErrorSignal (StringRef Argv0, bool DisableCrashReporting=false)
 When an error signal (such as SIGABRT or SIGSEGV) is delivered to the process, print a stack trace and then exit. More...
 
void llvm::sys::DisableSystemDialogsOnCrash ()
 Disable all system dialog boxes that appear when the process crashes. More...
 
void llvm::sys::PrintStackTrace (raw_ostream &OS)
 Print the stack trace using the given raw_ostream object. More...
 
void llvm::sys::RunSignalHandlers ()
 
void llvm::sys::AddSignalHandler (SignalHandlerCallback FnPtr, void *Cookie)
 Add a function to be called when an abort/kill signal is delivered to the process. More...
 
void llvm::sys::SetInterruptFunction (void(*IF)())
 This function registers a function to be called when the user "interrupts" the program (typically by pressing ctrl-c). More...