LLVM  14.0.0git
Public Member Functions | List of all members
llvm::DIELabel Class Reference

A label DIE. More...

#include "llvm/CodeGen/DIE.h"

Public Member Functions

 DIELabel (const MCSymbol *L)
const MCSymbolgetValue () const
 Get MCSymbol. More...
void emitValue (const AsmPrinter *AP, dwarf::Form Form) const
 EmitValue - Emit label value. More...
unsigned SizeOf (const AsmPrinter *AP, dwarf::Form Form) const
 SizeOf - Determine size of label value in bytes. More...
void print (raw_ostream &O) const

Detailed Description

A label DIE.

Definition at line 218 of file DIE.h.

Constructor & Destructor Documentation

◆ DIELabel()

llvm::DIELabel::DIELabel ( const MCSymbol L)

Definition at line 222 of file DIE.h.

Member Function Documentation

◆ emitValue()

void DIELabel::emitValue ( const AsmPrinter AP,
dwarf::Form  Form 
) const

EmitValue - Emit label value.

Definition at line 494 of file DIE.cpp.

References llvm::AsmPrinter::emitLabelReference(), and SizeOf().

Referenced by llvm::DIEString::emitValue().

◆ getValue()

const MCSymbol* llvm::DIELabel::getValue ( ) const

Get MCSymbol.

Definition at line 225 of file DIE.h.

◆ print()

LLVM_DUMP_METHOD void DIELabel::print ( raw_ostream O) const

Definition at line 518 of file DIE.cpp.

References llvm::MCSymbol::getName(), and llvm::RISCVFenceField::O.

◆ SizeOf()

unsigned DIELabel::SizeOf ( const AsmPrinter AP,
dwarf::Form  Form 
) const

SizeOf - Determine size of label value in bytes.

Definition at line 501 of file DIE.cpp.

References llvm::MCAsmInfo::getCodePointerSize(), llvm::AsmPrinter::getDwarfOffsetByteSize(), llvm_unreachable, and llvm::AsmPrinter::MAI.

Referenced by emitValue(), and llvm::DIEString::SizeOf().

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