LLVM API Documentation

Public Member Functions | Static Public Member Functions
llvm::DIELabel Class Reference

DIELabel - A label DIE. More...

#include <DIE.h>

Inheritance diagram for llvm::DIELabel:
Inheritance graph
[legend]
Collaboration diagram for llvm::DIELabel:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 DIELabel (const MCSymbol *L)
void EmitValue (AsmPrinter *AP, dwarf::Form Form) const override
const MCSymbolgetValue () const
unsigned SizeOf (AsmPrinter *AP, dwarf::Form Form) const override
void print (raw_ostream &O) const override

Static Public Member Functions

static bool classof (const DIEValue *L)

Detailed Description

DIELabel - A label DIE.

Definition at line 326 of file DIE.h.


Constructor & Destructor Documentation

llvm::DIELabel::DIELabel ( const MCSymbol L) [inline, explicit]

Definition at line 330 of file DIE.h.


Member Function Documentation

static bool llvm::DIELabel::classof ( const DIEValue L) [inline, static]

Definition at line 345 of file DIE.h.

References llvm::DIEValue::getType(), and llvm::DIEValue::isLabel.

void DIELabel::EmitValue ( AsmPrinter AP,
dwarf::Form  Form 
) const [override, virtual]

getValue - Get MCSymbol.

Definition at line 338 of file DIE.h.

void DIELabel::print ( raw_ostream O) const [override, virtual]

Implements llvm::DIEValue.

Definition at line 316 of file DIE.cpp.

References llvm::MCSymbol::getName().

unsigned DIELabel::SizeOf ( AsmPrinter AP,
dwarf::Form  Form 
) const [override, virtual]

SizeOf - Determine size of label value in bytes.

Implements llvm::DIEValue.

Definition at line 308 of file DIE.cpp.

References llvm::dwarf::DW_FORM_data4, llvm::dwarf::DW_FORM_sec_offset, llvm::dwarf::DW_FORM_strp, llvm::AsmPrinter::getDataLayout(), and llvm::DataLayout::getPointerSize().

Referenced by EmitValue().


The documentation for this class was generated from the following files: