LLVM  4.0.0
Public Member Functions | List of all members
llvm::DebugLocStream::ListBuilder Class Reference

Builder for DebugLocStream lists. More...

#include <DebugLocStream.h>

Public Member Functions

 ListBuilder (DebugLocStream &Locs, DwarfCompileUnit &CU, AsmPrinter &Asm, DbgVariable &V, const MachineInstr &MI)
 
 ~ListBuilder ()
 Finalize the list. More...
 
DebugLocStreamgetLocs ()
 

Detailed Description

Builder for DebugLocStream lists.

Definition at line 154 of file DebugLocStream.h.

Constructor & Destructor Documentation

llvm::DebugLocStream::ListBuilder::ListBuilder ( DebugLocStream Locs,
DwarfCompileUnit CU,
AsmPrinter Asm,
DbgVariable V,
const MachineInstr MI 
)
inline

Definition at line 162 of file DebugLocStream.h.

DebugLocStream::ListBuilder::~ListBuilder ( )

Finalize the list.

If the list is empty, delete it. Otherwise, finalize it by creating a temp symbol in Asm and setting up the DbgVariable.

Definition at line 41 of file DebugLocStream.cpp.

References llvm::DbgVariable::initializeDbgValue(), and llvm::DbgVariable::setDebugLocListIndex().

Member Function Documentation

DebugLocStream& llvm::DebugLocStream::ListBuilder::getLocs ( )
inline

Definition at line 172 of file DebugLocStream.h.


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