|
LLVM 22.0.0git
|
Diagnostic information for the sample profiler. More...
#include "llvm/IR/DiagnosticInfo.h"
Public Member Functions | |
| DiagnosticInfoSampleProfile (StringRef FileName, unsigned LineNum, const Twine &Msg LLVM_LIFETIME_BOUND, DiagnosticSeverity Severity=DS_Error) | |
| DiagnosticInfoSampleProfile (StringRef FileName, const Twine &Msg LLVM_LIFETIME_BOUND, DiagnosticSeverity Severity=DS_Error) | |
| DiagnosticInfoSampleProfile (const Twine &Msg LLVM_LIFETIME_BOUND, DiagnosticSeverity Severity=DS_Error) | |
| void | print (DiagnosticPrinter &DP) const override |
| StringRef | getFileName () const |
| unsigned | getLineNum () const |
| const Twine & | getMsg () const |
| Public Member Functions inherited from llvm::DiagnosticInfo | |
| DiagnosticInfo (int Kind, DiagnosticSeverity Severity) | |
| virtual | ~DiagnosticInfo ()=default |
| int | getKind () const |
| DiagnosticSeverity | getSeverity () const |
Static Public Member Functions | |
| static bool | classof (const DiagnosticInfo *DI) |
Diagnostic information for the sample profiler.
Definition at line 265 of file DiagnosticInfo.h.
|
inline |
Definition at line 267 of file DiagnosticInfo.h.
References llvm::DiagnosticInfo::DiagnosticInfo(), llvm::DK_SampleProfile, llvm::DS_Error, and LLVM_LIFETIME_BOUND.
|
inline |
Definition at line 272 of file DiagnosticInfo.h.
References llvm::DiagnosticInfo::DiagnosticInfo(), llvm::DK_SampleProfile, llvm::DS_Error, and LLVM_LIFETIME_BOUND.
|
inline |
Definition at line 277 of file DiagnosticInfo.h.
References llvm::DiagnosticInfo::DiagnosticInfo(), llvm::DK_SampleProfile, llvm::DS_Error, and LLVM_LIFETIME_BOUND.
|
inlinestatic |
Definition at line 284 of file DiagnosticInfo.h.
References llvm::DiagnosticInfo::DiagnosticInfo(), llvm::DK_SampleProfile, and llvm::DiagnosticInfo::getKind().
|
inline |
Definition at line 288 of file DiagnosticInfo.h.
Referenced by print().
|
inline |
Definition at line 289 of file DiagnosticInfo.h.
Referenced by print().
Definition at line 290 of file DiagnosticInfo.h.
Referenced by print().
|
overridevirtual |
Implements llvm::DiagnosticInfo.
Definition at line 129 of file DiagnosticInfo.cpp.
References getFileName(), getLineNum(), and getMsg().