LLVM API Documentation
A signature reference to a type unit. More...
#include <DIE.h>
Public Member Functions | |
DIETypeSignature (const DwarfTypeUnit &Unit) | |
void | EmitValue (AsmPrinter *Asm, dwarf::Form Form) const override |
Emit type unit signature. | |
unsigned | SizeOf (AsmPrinter *AP, dwarf::Form Form) const override |
Returns size of a ref_sig8 entry. | |
void | print (raw_ostream &O) const override |
void | dump () const |
Static Public Member Functions | |
static bool | classof (const DIEValue *E) |
llvm::DIETypeSignature::DIETypeSignature | ( | const DwarfTypeUnit & | Unit | ) | [inline, explicit] |
static bool llvm::DIETypeSignature::classof | ( | const DIEValue * | E | ) | [inline, static] |
Definition at line 463 of file DIE.h.
References llvm::DIEValue::getType(), and llvm::DIEValue::isTypeSignature.
void DIETypeSignature::dump | ( | ) | const |
Reimplemented from llvm::DIEValue.
Definition at line 429 of file DIE.cpp.
References llvm::dbgs(), and print().
void DIETypeSignature::EmitValue | ( | AsmPrinter * | Asm, |
dwarf::Form | Form | ||
) | const [override, virtual] |
Emit type unit signature.
Implements llvm::DIEValue.
Definition at line 419 of file DIE.cpp.
References llvm::dwarf::DW_FORM_ref_sig8, llvm::MCStreamer::EmitIntValue(), llvm::DwarfTypeUnit::getTypeSignature(), and llvm::AsmPrinter::OutStreamer.
void DIETypeSignature::print | ( | raw_ostream & | O | ) | const [override, virtual] |
Implements llvm::DIEValue.
Definition at line 425 of file DIE.cpp.
References llvm::format(), and llvm::DwarfTypeUnit::getTypeSignature().
Referenced by dump().
unsigned llvm::DIETypeSignature::SizeOf | ( | AsmPrinter * | AP, |
dwarf::Form | Form | ||
) | const [inline, override, virtual] |
Returns size of a ref_sig8 entry.
Implements llvm::DIEValue.
Definition at line 457 of file DIE.h.
References llvm::dwarf::DW_FORM_ref_sig8.