|
LLVM 23.0.0git
|
#include "IR/VerifierInternal.h"
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 |
| const 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 31 of file VerifierInternal.h.
|
inlineexplicit |
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 179 of file VerifierInternal.h.
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 190 of file VerifierInternal.h.
References CheckFailed(), OS, T1, and llvm::V1.
A debug info check failed.
Definition at line 197 of file VerifierInternal.h.
References Broken, BrokenDebugInfo, OS, and TreatBrokenDebugInfoAsError.
Referenced by DebugInfoCheckFailed().
|
inline |
A debug info check failed (with values to print).
Definition at line 206 of file VerifierInternal.h.
References DebugInfoCheckFailed(), OS, T1, and llvm::V1.
| bool llvm::VerifierSupport::Broken = false |
Track the brokenness of the module while recursively visiting.
Definition at line 40 of file VerifierInternal.h.
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 42 of file VerifierInternal.h.
Referenced by DebugInfoCheckFailed().
| LLVMContext& llvm::VerifierSupport::Context |
Definition at line 37 of file VerifierInternal.h.
Referenced by VerifierSupport().
| const DataLayout& llvm::VerifierSupport::DL |
Definition at line 36 of file VerifierInternal.h.
Referenced by VerifierSupport().
Definition at line 33 of file VerifierInternal.h.
Referenced by VerifierSupport().
| ModuleSlotTracker llvm::VerifierSupport::MST |
Definition at line 34 of file VerifierInternal.h.
Referenced by VerifierSupport().
| raw_ostream* llvm::VerifierSupport::OS |
Definition at line 32 of file VerifierInternal.h.
Referenced by CheckFailed(), CheckFailed(), DebugInfoCheckFailed(), DebugInfoCheckFailed(), and VerifierSupport().
| bool llvm::VerifierSupport::TreatBrokenDebugInfoAsError = true |
Whether to treat broken debug info as an error.
Definition at line 44 of file VerifierInternal.h.
Referenced by DebugInfoCheckFailed().
Definition at line 35 of file VerifierInternal.h.
Referenced by VerifierSupport().