LLVM 20.0.0git
|
Public Member Functions | |
VerifierSupport (raw_ostream *OS, const Module &M) | |
void | CheckFailed (const Twine &Message) |
A check failed, so printout out the condition and the message. | |
template<typename T1 , typename... Ts> | |
void | CheckFailed (const Twine &Message, const T1 &V1, const Ts &... Vs) |
A check failed (with values to print). | |
void | DebugInfoCheckFailed (const Twine &Message) |
A debug info check failed. | |
template<typename T1 , typename... Ts> | |
void | DebugInfoCheckFailed (const Twine &Message, const T1 &V1, const Ts &... Vs) |
A debug info check failed (with values to print). | |
Public Attributes | |
raw_ostream * | OS |
const Module & | M |
ModuleSlotTracker | MST |
Triple | TT |
const DataLayout & | DL |
LLVMContext & | Context |
bool | Broken = false |
Track the brokenness of the module while recursively visiting. | |
bool | BrokenDebugInfo = false |
Broken debug info can be "recovered" from by stripping the debug info. | |
bool | TreatBrokenDebugInfoAsError = true |
Whether to treat broken debug info as an error. | |
Definition at line 141 of file Verifier.cpp.
|
inlineexplicit |
Definition at line 156 of file Verifier.cpp.
A check failed, so printout out the condition and the message.
This provides a nice place to put a breakpoint if you want to see why something is not correct.
Definition at line 286 of file Verifier.cpp.
Referenced by CheckFailed().
|
inline |
A check failed (with values to print).
This calls the Message-only version so that the above is easier to set a breakpoint on.
Definition at line 297 of file Verifier.cpp.
References CheckFailed(), and OS.
A debug info check failed.
Definition at line 304 of file Verifier.cpp.
References Broken, BrokenDebugInfo, OS, and TreatBrokenDebugInfoAsError.
Referenced by DebugInfoCheckFailed().
|
inline |
A debug info check failed (with values to print).
Definition at line 313 of file Verifier.cpp.
References DebugInfoCheckFailed(), and OS.
bool llvm::VerifierSupport::Broken = false |
Track the brokenness of the module while recursively visiting.
Definition at line 150 of file Verifier.cpp.
Referenced by CheckFailed(), and DebugInfoCheckFailed().
bool llvm::VerifierSupport::BrokenDebugInfo = false |
Broken debug info can be "recovered" from by stripping the debug info.
Definition at line 152 of file Verifier.cpp.
Referenced by DebugInfoCheckFailed().
LLVMContext& llvm::VerifierSupport::Context |
Definition at line 147 of file Verifier.cpp.
const DataLayout& llvm::VerifierSupport::DL |
Definition at line 146 of file Verifier.cpp.
Definition at line 143 of file Verifier.cpp.
ModuleSlotTracker llvm::VerifierSupport::MST |
Definition at line 144 of file Verifier.cpp.
raw_ostream* llvm::VerifierSupport::OS |
Definition at line 142 of file Verifier.cpp.
Referenced by CheckFailed(), and DebugInfoCheckFailed().
Whether to treat broken debug info as an error.
Definition at line 154 of file Verifier.cpp.
Referenced by DebugInfoCheckFailed().
Triple llvm::VerifierSupport::TT |
Definition at line 145 of file Verifier.cpp.