LLVM 17.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 532 of file StandardInstrumentations.h.
|
inline |
Definition at line 534 of file StandardInstrumentations.h.
llvm::PrintCrashIRInstrumentation::~PrintCrashIRInstrumentation | ( | ) |
Definition at line 2122 of file StandardInstrumentations.cpp.
References assert(), and PrintCrashIR.
void llvm::PrintCrashIRInstrumentation::registerCallbacks | ( | PassInstrumentationCallbacks & | PIC | ) |
Definition at line 2130 of file StandardInstrumentations.cpp.
References llvm::sys::AddSignalHandler(), llvm::forcePrintModuleIR(), llvm::formatv(), llvm::PassInstrumentationCallbacks::getPassNameForClassName(), IR, isInteresting(), PIC, PrintCrashIR, llvm::PassInstrumentationCallbacks::registerBeforeNonSkippedPassCallback(), and SavedIR.
Referenced by llvm::StandardInstrumentations::registerCallbacks().
void llvm::PrintCrashIRInstrumentation::reportCrashIR | ( | ) |
Definition at line 2110 of file StandardInstrumentations.cpp.
References llvm::dbgs(), and SavedIR.
|
protected |
Definition at line 541 of file StandardInstrumentations.h.
Referenced by registerCallbacks(), and reportCrashIR().