Go to the documentation of this file.
26 bool InstallPipeSignalExitHandler) {
27 if (InstallPipeSignalExitHandler)
36 StackPrinter.emplace(Argc, Argv);
50 std::string Banner = std::string(Argv[0]) +
": ";
57 Args.push_back(
nullptr);
59 Argc =
Args.size() - 1;
This is an optimization pass for GlobalISel generic memory operations.
void install_out_of_memory_new_handler()
Helper for check-and-exit error handling.
void llvm_shutdown()
llvm_shutdown - Deallocate and destroy all ManagedStatic variables.
Error errorCodeToError(std::error_code EC)
Helper for converting an std::error_code to a Error.
void DefaultOneShotPipeSignalHandler()
On Unix systems, this function exits with an "IO error" exit code.
InitLLVM(int &Argc, const char **&Argv, bool InstallPipeSignalExitHandler=true)
std::error_code GetCommandLineArguments(SmallVectorImpl< const char * > &Args, BumpPtrAllocator &Alloc)
void SetOneShotPipeSignalFunction(void(*Handler)())
Registers a function to be called in a "one-shot" manner when a pipe signal is delivered to the proce...
constexpr char Args[]
Key for Kernel::Metadata::mArgs.
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...