Diagnostic for a stack frame size limit being exceeded.

Synopsis

Declared in <llvm/IR/DiagnosticInfo.h>

class DiagnosticInfoStackSize
    : public DiagnosticInfoResourceLimit

Base Classes

Name

Description

DiagnosticInfoResourceLimit

Diagnostic information for stack size etc. reporting. This is basically a function and a size.

Member Functions

Name

Description

DiagnosticInfoStackSize [constructor]

Construct a stack‐size diagnostic for function Fn.

getAbsolutePath

Return the absolute path to the file.

getFunction

Return the function concerned by this diagnostic.

getKind

Return the kind of this diagnostic.

getLocation

getLocation overloads

getLocationStr

Return the location as a "file:line:col" string.

getResourceLimit

Return the resource limit threshold.

getResourceName

Return the resource type name.

getResourceSize

Return the computed resource size usage.

getSeverity

Return the severity of this diagnostic.

getStackLimit

Return the stack size limit.

getStackSize

Return the computed stack frame size.

isLocationAvailable

Return true if location information is available for this diagnostic.

print [virtual]

Print this diagnostic using DP.

Static Member Functions

Name

Description

classof

Return true if DI is a DiagnosticInfoStackSize.

Non-Member Functions

Name

Description

wrap

Convert a DiagnosticInfo pointer to an opaque LLVMDiagnosticInfoRef.

Created with MrDocs