LLVM 20.0.0git
|
#include "llvm/Passes/StandardInstrumentations.h"
Public Member Functions | |
PrintCrashIRInstrumentation () | |
~PrintCrashIRInstrumentation () | |
void | registerCallbacks (PassInstrumentationCallbacks &PIC) |
void | reportCrashIR () |
Protected Attributes | |
std::string | SavedIR |
Definition at line 563 of file StandardInstrumentations.h.
|
inline |
Definition at line 565 of file StandardInstrumentations.h.
llvm::PrintCrashIRInstrumentation::~PrintCrashIRInstrumentation | ( | ) |
Definition at line 2483 of file StandardInstrumentations.cpp.
References assert(), PrintOnCrash, and PrintOnCrashPath.
void llvm::PrintCrashIRInstrumentation::registerCallbacks | ( | PassInstrumentationCallbacks & | PIC | ) |
Definition at line 2492 of file StandardInstrumentations.cpp.
References llvm::sys::AddSignalHandler(), llvm::forcePrintModuleIR(), llvm::formatv(), llvm::PassInstrumentationCallbacks::getPassNameForClassName(), IR, isInteresting(), OS, PIC, PrintOnCrash, PrintOnCrashPath, llvm::PassInstrumentationCallbacks::registerBeforeNonSkippedPassCallback(), and SavedIR.
Referenced by llvm::StandardInstrumentations::registerCallbacks().
void llvm::PrintCrashIRInstrumentation::reportCrashIR | ( | ) |
Definition at line 2460 of file StandardInstrumentations.cpp.
References llvm::dbgs(), llvm::errorCodeToError(), PrintOnCrashPath, llvm::report_fatal_error(), and SavedIR.
|
protected |
Definition at line 572 of file StandardInstrumentations.h.
Referenced by registerCallbacks(), and reportCrashIR().