class DiagnosticInfoSampleProfile

Declaration

class DiagnosticInfoSampleProfile : public DiagnosticInfo { /* full declaration omitted */ };

Description

Diagnostic information for the sample profiler.

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

Inherits from: DiagnosticInfo

Member Variables

private llvm::StringRef FileName
Name of the input file associated with this diagnostic.
private unsigned int LineNum = 0
Line number where the diagnostic occurred. If 0, no line number will be emitted in the message.
private const llvm::Twine& Msg
Message to report.

Method Overview

  • public DiagnosticInfoSampleProfile(llvm::StringRef FileName, unsigned int LineNum, const llvm::Twine & Msg, llvm::DiagnosticSeverity Severity = DS_Error)
  • public DiagnosticInfoSampleProfile(llvm::StringRef FileName, const llvm::Twine & Msg, llvm::DiagnosticSeverity Severity = DS_Error)
  • public DiagnosticInfoSampleProfile(const llvm::Twine & Msg, llvm::DiagnosticSeverity Severity = DS_Error)
  • public static bool classof(const llvm::DiagnosticInfo * DI)
  • public llvm::StringRef getFileName() const
  • public unsigned int getLineNum() const
  • public const llvm::Twine & getMsg() const
  • public void print(llvm::DiagnosticPrinter & DP) const

Inherited from DiagnosticInfo:

Methods

DiagnosticInfoSampleProfile(
    llvm::StringRef FileName,
    unsigned int LineNum,
    const llvm::Twine& Msg,
    llvm::DiagnosticSeverity Severity = DS_Error)

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

Parameters

llvm::StringRef FileName
unsigned int LineNum
const llvm::Twine& Msg
llvm::DiagnosticSeverity Severity = DS_Error

DiagnosticInfoSampleProfile(
    llvm::StringRef FileName,
    const llvm::Twine& Msg,
    llvm::DiagnosticSeverity Severity = DS_Error)

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

Parameters

llvm::StringRef FileName
const llvm::Twine& Msg
llvm::DiagnosticSeverity Severity = DS_Error

DiagnosticInfoSampleProfile(
    const llvm::Twine& Msg,
    llvm::DiagnosticSeverity Severity = DS_Error)

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

Parameters

const llvm::Twine& Msg
llvm::DiagnosticSeverity Severity = DS_Error

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

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

Parameters

const llvm::DiagnosticInfo* DI

llvm::StringRef getFileName() const

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

unsigned int getLineNum() const

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

const llvm::Twine& getMsg() const

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

void print(llvm::DiagnosticPrinter& DP) const

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

Parameters

llvm::DiagnosticPrinter& DP