LLVM
8.0.1
|
Diagnostic information for the sample profiler. More...
#include "llvm/IR/DiagnosticInfo.h"
Public Member Functions | |
DiagnosticInfoSampleProfile (StringRef FileName, unsigned LineNum, const Twine &Msg, DiagnosticSeverity Severity=DS_Error) | |
DiagnosticInfoSampleProfile (StringRef FileName, const Twine &Msg, DiagnosticSeverity Severity=DS_Error) | |
DiagnosticInfoSampleProfile (const Twine &Msg, 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 281 of file DiagnosticInfo.h.
|
inline |
Definition at line 283 of file DiagnosticInfo.h.
|
inline |
Definition at line 288 of file DiagnosticInfo.h.
|
inline |
Definition at line 292 of file DiagnosticInfo.h.
References llvm::DiagnosticInfo::print().
|
inlinestatic |
Definition at line 299 of file DiagnosticInfo.h.
References llvm::DK_SampleProfile, and llvm::DiagnosticInfo::getKind().
|
inline |
Definition at line 303 of file DiagnosticInfo.h.
|
inline |
Definition at line 304 of file DiagnosticInfo.h.
Definition at line 305 of file DiagnosticInfo.h.
|
overridevirtual |
Implements llvm::DiagnosticInfo.
Definition at line 91 of file DiagnosticInfo.cpp.
References getFileName().