LLVM  mainline
Public Member Functions
llvm::DIEBlock Class Reference

DIEBlock - Represents a block of values. More...

#include <DIE.h>

Inheritance diagram for llvm::DIEBlock:
Inheritance graph
[legend]
Collaboration diagram for llvm::DIEBlock:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 DIEBlock ()
unsigned ComputeSize (const AsmPrinter *AP) const
 ComputeSize - Calculate the size of the location expression.
dwarf::Form BestForm () const
 BestForm - Choose the best form for data.
void EmitValue (const AsmPrinter *AP, dwarf::Form Form) const
 EmitValue - Emit block data.
unsigned SizeOf (const AsmPrinter *AP, dwarf::Form Form) const
 SizeOf - Determine size of block data in bytes.
void print (raw_ostream &O) const

Detailed Description

DIEBlock - Represents a block of values.

Definition at line 604 of file DIE.h.


Constructor & Destructor Documentation

Definition at line 608 of file DIE.h.


Member Function Documentation

BestForm - Choose the best form for data.

Definition at line 616 of file DIE.h.

References llvm::dwarf::DW_FORM_block, llvm::dwarf::DW_FORM_block1, llvm::dwarf::DW_FORM_block2, and llvm::dwarf::DW_FORM_block4.

Referenced by llvm::DwarfUnit::addBlock().

ComputeSize - Calculate the size of the location expression.

ComputeSize - calculate the size of the block.

Definition at line 561 of file DIE.cpp.

References SizeOf().

Referenced by llvm::DwarfUnit::addBlock().

void DIEBlock::EmitValue ( const AsmPrinter AP,
dwarf::Form  Form 
) const
void DIEBlock::print ( raw_ostream O) const

Definition at line 598 of file DIE.cpp.

SizeOf - Determine size of block data in bytes.

Definition at line 587 of file DIE.cpp.

References llvm::dwarf::DW_FORM_block, llvm::dwarf::DW_FORM_block1, llvm::dwarf::DW_FORM_block2, llvm::dwarf::DW_FORM_block4, llvm::getULEB128Size(), and llvm_unreachable.

Referenced by ComputeSize().


The documentation for this class was generated from the following files: