LLVM API Documentation


Public Member Functions | |
| DIEBlock () | |
| ~DIEBlock () | |
| unsigned | ComputeSize (DwarfWriter &DW) |
| unsigned | BestForm () |
| virtual void | EmitValue (const DwarfWriter &DW, unsigned Form) const |
| virtual unsigned | SizeOf (const DwarfWriter &DW, unsigned Form) const |
| void | AddUInt (unsigned Form, uint64_t Integer) |
| void | AddSInt (unsigned Form, int64_t Integer) |
| void | AddString (unsigned Form, const std::string &String) |
| void | AddLabel (unsigned Form, const DWLabel &Label) |
| void | AddObjectLabel (unsigned Form, const std::string &Label) |
| void | AddDelta (unsigned Form, const DWLabel &Hi, const DWLabel &Lo) |
| void | AddDIEntry (unsigned Form, DIE *Entry) |
Static Public Member Functions | |
| static bool | classof (const DIEBlock *) |
| static bool | classof (const DIEValue *E) |
Public Attributes | |
| unsigned | Size |
| std::vector< unsigned > | Forms |
| std::vector< DIEValue * > | Values |
Definition at line 356 of file DwarfWriter.cpp.
| llvm::DIEBlock::DIEBlock | ( | ) | [inline] |
Definition at line 361 of file DwarfWriter.cpp.
| DIEBlock::~DIEBlock | ( | ) |
| static bool llvm::DIEBlock::classof | ( | const DIEBlock * | ) | [inline, static] |
Definition at line 370 of file DwarfWriter.cpp.
| static bool llvm::DIEBlock::classof | ( | const DIEValue * | E | ) | [inline, static] |
Reimplemented from llvm::DIEValue.
Definition at line 371 of file DwarfWriter.cpp.
References E, and llvm::DIEValue::isBlock.
| unsigned DIEBlock::ComputeSize | ( | DwarfWriter & | DW | ) |
| unsigned DIEBlock::BestForm | ( | ) |
BestForm - Choose the best form for data.
Definition at line 741 of file DwarfWriter.cpp.
References llvm::dwarf::DW_FORM_block, llvm::dwarf::DW_FORM_block1, llvm::dwarf::DW_FORM_block2, llvm::dwarf::DW_FORM_block4, and Size.
Referenced by llvm::DIE::AddBlock().
| void DIEBlock::EmitValue | ( | const DwarfWriter & | DW, | |
| unsigned | Form | |||
| ) | const [virtual] |
EmitValue - Emit block data.
Implements llvm::DIEValue.
Definition at line 750 of file DwarfWriter.cpp.
References DW, llvm::dwarf::DW_FORM_block, llvm::dwarf::DW_FORM_block1, llvm::dwarf::DW_FORM_block2, llvm::dwarf::DW_FORM_block4, Forms, Size, and Values.
| unsigned DIEBlock::SizeOf | ( | const DwarfWriter & | DW, | |
| unsigned | Form | |||
| ) | const [virtual] |
SizeOf - Determine size of block data in bytes.
Implements llvm::DIEValue.
Definition at line 766 of file DwarfWriter.cpp.
References DW, llvm::dwarf::DW_FORM_block, llvm::dwarf::DW_FORM_block1, llvm::dwarf::DW_FORM_block2, llvm::dwarf::DW_FORM_block4, and Size.
Referenced by ComputeSize().
| void DIEBlock::AddUInt | ( | unsigned | Form, | |
| uint64_t | Integer | |||
| ) |
AddUInt - Add an unsigned integer value.
Definition at line 779 of file DwarfWriter.cpp.
References llvm::DIEInteger::BestForm(), Forms, and Values.
| void DIEBlock::AddSInt | ( | unsigned | Form, | |
| int64_t | Integer | |||
| ) |
AddSInt - Add an signed integer value.
Definition at line 788 of file DwarfWriter.cpp.
References llvm::DIEInteger::BestForm(), Forms, and Values.
| void DIEBlock::AddString | ( | unsigned | Form, | |
| const std::string & | String | |||
| ) |
AddString - Add a std::string value.
Definition at line 797 of file DwarfWriter.cpp.
| void DIEBlock::AddLabel | ( | unsigned | Form, | |
| const DWLabel & | Label | |||
| ) |
AddLabel - Add a Dwarf label value.
Definition at line 804 of file DwarfWriter.cpp.
| void DIEBlock::AddObjectLabel | ( | unsigned | Form, | |
| const std::string & | Label | |||
| ) |
AddObjectLabel - Add a non-Dwarf label value.
Definition at line 811 of file DwarfWriter.cpp.
| void DIEBlock::AddDIEntry | ( | unsigned | Form, | |
| DIE * | Entry | |||
| ) |
AddDIEntry - Add a DIE value.
Definition at line 825 of file DwarfWriter.cpp.
| unsigned llvm::DIEBlock::Size |
Definition at line 357 of file DwarfWriter.cpp.
Referenced by llvm::DIE::AddBlock(), BestForm(), ComputeSize(), EmitValue(), and SizeOf().
| std::vector<unsigned> llvm::DIEBlock::Forms |
Definition at line 358 of file DwarfWriter.cpp.
Referenced by AddDelta(), AddDIEntry(), AddLabel(), AddObjectLabel(), AddSInt(), AddString(), AddUInt(), ComputeSize(), and EmitValue().
| std::vector<DIEValue *> llvm::DIEBlock::Values |
Definition at line 359 of file DwarfWriter.cpp.
Referenced by AddDelta(), AddDIEntry(), AddLabel(), AddObjectLabel(), AddSInt(), AddString(), AddUInt(), ComputeSize(), EmitValue(), and ~DIEBlock().