LLVM API Documentation
#include <DIE.h>
Public Member Functions | |
DIEInteger (uint64_t I) | |
virtual void | EmitValue (AsmPrinter *AP, dwarf::Form Form) const |
uint64_t | getValue () const |
virtual unsigned | SizeOf (AsmPrinter *AP, dwarf::Form Form) const |
virtual void | print (raw_ostream &O) const |
![]() | |
DIEValue (unsigned T) | |
virtual | ~DIEValue () |
unsigned | getType () const |
void | dump () const |
Static Public Member Functions | |
static dwarf::Form | BestForm (bool IsSigned, uint64_t Int) |
static bool | classof (const DIEValue *I) |
Additional Inherited Members | |
![]() | |
enum | { isInteger, isString, isExpr, isLabel, isDelta, isEntry, isBlock } |
![]() | |
unsigned | Type |
DIEInteger - An integer value DIE.
|
inlinestatic |
BestForm - Choose the best form for integer.
Definition at line 235 of file DIE.h.
References llvm::tgtok::Int.
Referenced by llvm::CompileUnit::addSInt(), and llvm::CompileUnit::addUInt().
Definition at line 260 of file DIE.h.
References llvm::DIEValue::getType(), and llvm::DIEValue::isInteger.
|
virtual |
EmitValue - Emit integer of appropriate size.
Implements llvm::DIEValue.
Definition at line 212 of file DIE.cpp.
References llvm::MCStreamer::EmitIntValue(), llvm::MCStreamer::EmitRawText(), llvm::AsmPrinter::EmitSLEB128(), llvm::AsmPrinter::EmitULEB128(), llvm::AsmPrinter::getDataLayout(), llvm::DataLayout::getPointerSize(), llvm::MCStreamer::hasRawTextSupport(), llvm_unreachable, and llvm::AsmPrinter::OutStreamer.
|
inline |
Definition at line 253 of file DIE.h.
Referenced by llvm::DwarfDebug::emitDIE().
|
virtual |
Implements llvm::DIEValue.
Definition at line 267 of file DIE.cpp.
References llvm::raw_ostream::write_hex().
|
virtual |
SizeOf - Determine size of integer value in bytes.
Implements llvm::DIEValue.
Definition at line 244 of file DIE.cpp.
References llvm::AsmPrinter::getDataLayout(), llvm::DataLayout::getPointerSize(), llvm::MCAsmInfo::getSLEB128Size(), llvm::MCAsmInfo::getULEB128Size(), and llvm_unreachable.