LLVM 20.0.0git
|
#include "llvm/CodeGen/DIE.h"
Public Member Functions | |
DIELabel (const MCSymbol *L) | |
const MCSymbol * | getValue () const |
Get MCSymbol. | |
void | emitValue (const AsmPrinter *AP, dwarf::Form Form) const |
EmitValue - Emit label value. | |
unsigned | sizeOf (const dwarf::FormParams &FormParams, dwarf::Form Form) const |
sizeOf - Determine size of label value in bytes. | |
void | print (raw_ostream &O) const |
void DIELabel::emitValue | ( | const AsmPrinter * | AP, |
dwarf::Form | Form | ||
) | const |
EmitValue - Emit label value.
Definition at line 483 of file DIE.cpp.
References llvm::AsmPrinter::emitLabelReference(), llvm::AsmPrinter::getDwarfFormParams(), and sizeOf().
Referenced by llvm::DIEString::emitValue().
LLVM_DUMP_METHOD void DIELabel::print | ( | raw_ostream & | O | ) | const |
Definition at line 509 of file DIE.cpp.
References llvm::MCSymbol::getName().
unsigned DIELabel::sizeOf | ( | const dwarf::FormParams & | FormParams, |
dwarf::Form | Form | ||
) | const |
sizeOf - Determine size of label value in bytes.
Definition at line 491 of file DIE.cpp.
References llvm::dwarf::FormParams::AddrSize, llvm::dwarf::FormParams::getDwarfOffsetByteSize(), and llvm_unreachable.
Referenced by emitValue(), and llvm::DIEString::sizeOf().