LLVM 22.0.0git
|
#include "llvm/Passes/StandardInstrumentations.h"
Public Member Functions | |
PrintCrashIRInstrumentation () | |
LLVM_ABI | ~PrintCrashIRInstrumentation () |
LLVM_ABI void | registerCallbacks (PassInstrumentationCallbacks &PIC) |
LLVM_ABI void | reportCrashIR () |
Protected Attributes | |
std::string | SavedIR |
Definition at line 579 of file StandardInstrumentations.h.
|
inline |
Definition at line 581 of file StandardInstrumentations.h.
References SavedIR.
llvm::PrintCrashIRInstrumentation::~PrintCrashIRInstrumentation | ( | ) |
Definition at line 2481 of file StandardInstrumentations.cpp.
References assert(), PrintOnCrash, and PrintOnCrashPath.
void llvm::PrintCrashIRInstrumentation::registerCallbacks | ( | PassInstrumentationCallbacks & | PIC | ) |
Definition at line 2490 of file StandardInstrumentations.cpp.
References llvm::sys::AddSignalHandler(), llvm::forcePrintModuleIR(), llvm::formatv(), IR, isInteresting(), PIC, PrintOnCrash, PrintOnCrashPath, and SavedIR.
void llvm::PrintCrashIRInstrumentation::reportCrashIR | ( | ) |
Definition at line 2458 of file StandardInstrumentations.cpp.
References llvm::dbgs(), llvm::errorCodeToError(), PrintOnCrashPath, llvm::report_fatal_error(), and SavedIR.
|
protected |
Definition at line 588 of file StandardInstrumentations.h.
Referenced by PrintCrashIRInstrumentation(), registerCallbacks(), and reportCrashIR().