LLVM API Documentation
#include <DIE.h>
Public Types | |
enum | Type { isInteger, isString, isExpr, isLabel, isDelta, isEntry, isTypeSignature, isBlock, isLoc, isLocList } |
Public Member Functions | |
Type | getType () const |
virtual void | EmitValue (AsmPrinter *AP, dwarf::Form Form) const =0 |
virtual unsigned | SizeOf (AsmPrinter *AP, dwarf::Form Form) const =0 |
virtual void | print (raw_ostream &O) const =0 |
void | dump () const |
Protected Member Functions | |
DIEValue (Type T) | |
virtual | ~DIEValue () |
Protected Attributes | |
Type | Ty |
DIEValue - A debug information entry value. Some of these roughly correlate to DWARF attribute classes.
enum llvm::DIEValue::Type |
llvm::DIEValue::DIEValue | ( | Type | T | ) | [inline, explicit, protected] |
virtual llvm::DIEValue::~DIEValue | ( | ) | [inline, protected, virtual] |
void DIEValue::dump | ( | ) | const |
Reimplemented in llvm::DIETypeSignature.
Definition at line 194 of file DIE.cpp.
References llvm::dbgs(), and print().
virtual void llvm::DIEValue::EmitValue | ( | AsmPrinter * | AP, |
dwarf::Form | Form | ||
) | const [pure virtual] |
EmitValue - Emit value via the Dwarf writer.
Implemented in llvm::DIELocList, llvm::DIEBlock, llvm::DIELoc, llvm::DIETypeSignature, llvm::DIEEntry, llvm::DIEString, llvm::DIEDelta, llvm::DIELabel, llvm::DIEExpr, and llvm::DIEInteger.
Referenced by llvm::DIEString::EmitValue().
Type llvm::DIEValue::getType | ( | ) | const [inline] |
Definition at line 229 of file DIE.h.
References Ty.
Referenced by llvm::DIEInteger::classof(), llvm::DIEExpr::classof(), llvm::DIELabel::classof(), llvm::DIEDelta::classof(), llvm::DIEString::classof(), llvm::DIEEntry::classof(), llvm::DIETypeSignature::classof(), llvm::DIELoc::classof(), llvm::DIEBlock::classof(), and llvm::DIELocList::classof().
virtual void llvm::DIEValue::print | ( | raw_ostream & | O | ) | const [pure virtual] |
Implemented in llvm::DIELocList, llvm::DIEBlock, llvm::DIELoc, llvm::DIETypeSignature, llvm::DIEEntry, llvm::DIEString, llvm::DIEDelta, llvm::DIELabel, llvm::DIEExpr, and llvm::DIEInteger.
Referenced by dump(), and llvm::DIEString::print().
virtual unsigned llvm::DIEValue::SizeOf | ( | AsmPrinter * | AP, |
dwarf::Form | Form | ||
) | const [pure virtual] |
SizeOf - Return the size of a value in bytes.
Implemented in llvm::DIELocList, llvm::DIEBlock, llvm::DIELoc, llvm::DIETypeSignature, llvm::DIEEntry, llvm::DIEString, llvm::DIEDelta, llvm::DIELabel, llvm::DIEExpr, and llvm::DIEInteger.
Referenced by llvm::DIEString::SizeOf().
Type llvm::DIEValue::Ty [protected] |