LLVM
8.0.1
|
Diagnostic information for stack size etc. More...
#include "llvm/IR/DiagnosticInfo.h"
Public Member Functions | |
DiagnosticInfoResourceLimit (const Function &Fn, const char *ResourceName, uint64_t ResourceSize, DiagnosticSeverity Severity=DS_Warning, DiagnosticKind Kind=DK_ResourceLimit, uint64_t ResourceLimit=0) | |
The function that is concerned by this stack size diagnostic. More... | |
const Function & | getFunction () const |
const char * | getResourceName () const |
uint64_t | getResourceSize () const |
uint64_t | getResourceLimit () const |
void | print (DiagnosticPrinter &DP) const override |
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 stack size etc.
reporting. This is basically a function and a size.
Definition at line 175 of file DiagnosticInfo.h.
|
inline |
The
function that is concerned by this stack size diagnostic.
The
computed stack size.
Definition at line 192 of file DiagnosticInfo.h.
|
inlinestatic |
Definition at line 208 of file DiagnosticInfo.h.
References llvm::DK_ResourceLimit, llvm::DK_StackSize, and llvm::DiagnosticInfo::getKind().
Definition at line 200 of file DiagnosticInfo.h.
|
inline |
Definition at line 203 of file DiagnosticInfo.h.
References llvm::DiagnosticInfo::print().
Definition at line 201 of file DiagnosticInfo.h.
|
inline |
Definition at line 202 of file DiagnosticInfo.h.
|
overridevirtual |
Implements llvm::DiagnosticInfo.
Definition at line 72 of file DiagnosticInfo.cpp.
References getFunction().