#include "llvm/IR/DiagnosticInfo.h"
|
| DiagnosticInfoStackSize (const Function &Fn, uint64_t StackSize, uint64_t StackLimit, DiagnosticSeverity Severity=DS_Warning) |
|
uint64_t | getStackSize () const |
|
uint64_t | getStackLimit () const |
|
| DiagnosticInfoResourceLimit (const Function &Fn, const char *ResourceName, uint64_t ResourceSize, uint64_t ResourceLimit, DiagnosticSeverity Severity=DS_Warning, DiagnosticKind Kind=DK_ResourceLimit) |
| The function that is concerned by this stack size diagnostic.
|
|
const Function & | getFunction () const |
|
const char * | getResourceName () const |
|
uint64_t | getResourceSize () const |
|
uint64_t | getResourceLimit () const |
|
void | print (DiagnosticPrinter &DP) const override |
|
| DiagnosticInfoWithLocationBase (enum DiagnosticKind Kind, enum DiagnosticSeverity Severity, const Function &Fn, const DiagnosticLocation &Loc) |
| Fn is the function where the diagnostic is being emitted.
|
|
bool | isLocationAvailable () const |
| Return true if location information is available for this diagnostic.
|
|
std::string | getLocationStr () const |
| Return a string with the location information for this diagnostic in the format "file:line:col".
|
|
void | getLocation (StringRef &RelativePath, unsigned &Line, unsigned &Column) const |
| Return location information for this diagnostic in three parts: the relative source file path, line number and column.
|
|
std::string | getAbsolutePath () const |
| Return the absolute path tot the file.
|
|
const Function & | getFunction () const |
|
DiagnosticLocation | getLocation () const |
|
| DiagnosticInfo (int Kind, DiagnosticSeverity Severity) |
|
virtual | ~DiagnosticInfo ()=default |
|
int | getKind () const |
|
DiagnosticSeverity | getSeverity () const |
|
virtual void | print (DiagnosticPrinter &DP) const =0 |
| Print using the given DP a user-friendly message.
|
|
Definition at line 466 of file DiagnosticInfo.h.
◆ DiagnosticInfoStackSize()
◆ classof()
◆ getStackLimit()
uint64_t llvm::DiagnosticInfoStackSize::getStackLimit |
( |
| ) |
const |
|
inline |
◆ getStackSize()
uint64_t llvm::DiagnosticInfoStackSize::getStackSize |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following files: