|
LLVM 22.0.0git
|
#include "llvm/Config/llvm-config.h"#include "llvm/Support/Compiler.h"#include <cstdint>#include <string>Go to the source code of this file.
Namespaces | |
| namespace | llvm |
| This is an optimization pass for GlobalISel generic memory operations. | |
| namespace | llvm::sys |
Typedefs | |
| using | llvm::sys::SignalHandlerCallback = void (*)(void *) |
Functions | |
| LLVM_ABI void | llvm::sys::RunInterruptHandlers () |
| This function runs all the registered interrupt handlers, including the removal of files registered by RemoveFileOnSignal. | |
| LLVM_ABI 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. | |
| LLVM_ABI void | llvm::sys::DontRemoveFileOnSignal (StringRef Filename) |
| This function removes a file from the list of files to be removed on signal delivery. | |
| LLVM_ABI 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. | |
| LLVM_ABI void | llvm::sys::DisableSystemDialogsOnCrash () |
| Disable all system dialog boxes that appear when the process crashes. | |
| LLVM_ABI void | llvm::sys::PrintStackTrace (raw_ostream &OS, int Depth=0) |
Print the stack trace using the given raw_ostream object. | |
| LLVM_ABI void | llvm::sys::RunSignalHandlers () |
| LLVM_ABI void | llvm::sys::AddSignalHandler (SignalHandlerCallback FnPtr, void *Cookie) |
| Add a function to be called when an abort/kill signal is delivered to the process. | |
| LLVM_ABI 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). | |
| LLVM_ABI void | llvm::sys::SetInfoSignalFunction (void(*Handler)()) |
| Registers a function to be called when an "info" signal is delivered to the process. | |
| LLVM_ABI void | llvm::sys::SetOneShotPipeSignalFunction (void(*Handler)()) |
| Registers a function to be called in a "one-shot" manner when a pipe signal is delivered to the process (i.e., on a failed write to a pipe). | |
| LLVM_ABI void | llvm::sys::DefaultOneShotPipeSignalHandler () |
| On Unix systems and Windows, this function exits with an "IO error" exit code. | |
| LLVM_ABI void | llvm::sys::CleanupOnSignal (uintptr_t Context) |
| This function does the following: | |
| LLVM_ABI void | llvm::sys::unregisterHandlers () |