class DiagnosticInfoStackSize

Declaration

class DiagnosticInfoStackSize : public DiagnosticInfoResourceLimit { /* full declaration omitted */ };

Description

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

Declared at: llvm/include/llvm/IR/DiagnosticInfo.h:214

Inherits from: DiagnosticInfoResourceLimit

Method Overview

  • public DiagnosticInfoStackSize(const llvm::Function & Fn, uint64_t StackSize, llvm::DiagnosticSeverity Severity = DS_Warning, uint64_t StackLimit = 0)
  • public static bool classof(const llvm::DiagnosticInfo * DI)
  • public uint64_t getStackLimit() const
  • public uint64_t getStackSize() const

Inherited from DiagnosticInfoResourceLimit:

Inherited from DiagnosticInfo:

Methods

DiagnosticInfoStackSize(const llvm::Function& Fn,
                        uint64_t StackSize,
                        llvm::DiagnosticSeverity
                            Severity = DS_Warning,
                        uint64_t StackLimit = 0)

Declared at: llvm/include/llvm/IR/DiagnosticInfo.h:217

Parameters

const llvm::Function& Fn
uint64_t StackSize
llvm::DiagnosticSeverity Severity = DS_Warning
uint64_t StackLimit = 0

static bool classof(
    const llvm::DiagnosticInfo* DI)

Declared at: llvm/include/llvm/IR/DiagnosticInfo.h:226

Parameters

const llvm::DiagnosticInfo* DI

uint64_t getStackLimit() const

Declared at: llvm/include/llvm/IR/DiagnosticInfo.h:224

uint64_t getStackSize() const

Declared at: llvm/include/llvm/IR/DiagnosticInfo.h:223