25 bool InstallPipeSignalExitHandler)
26 : StackPrinter(Argc, Argv) {
27 if (InstallPipeSignalExitHandler)
42 std::string Banner = std::string(Argv[0]) +
": ";
51 Argc = Args.
size() - 1;
std::error_code GetCommandLineArguments(SmallVectorImpl< const char *> &Args, BumpPtrAllocator &Alloc)
This class represents lattice values for constants.
void push_back(const T &Elt)
Helper for check-and-exit error handling.
void DefaultOneShotPipeSignalHandler()
On Unix systems, this function exits with an "IO error" exit code.
void llvm_shutdown()
llvm_shutdown - Deallocate and destroy all ManagedStatic variables.
void PrintStackTraceOnErrorSignal(StringRef Argv0, bool DisableCrashReporting=false)
When an error signal (such as SIGABRT or SIGSEGV) is delivered to the process, print a stack trace an...
Error errorCodeToError(std::error_code EC)
Helper for converting an std::error_code to a Error.
InitLLVM(int &Argc, const char **&Argv, bool InstallPipeSignalExitHandler=true)
Provides a library for accessing information about this process and other processes on the operating ...
pointer data()
Return a pointer to the vector's buffer, even if empty().
void SetOneShotPipeSignalFunction(void(*Handler)())
Registers a function to be called in a "one-shot" manner when a pipe signal is delivered to the proce...
void install_out_of_memory_new_handler()