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

Builder for DebugLocStream lists. More...

#include "CodeGen/AsmPrinter/DebugLocStream.h"

Public Member Functions

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

Detailed Description

Builder for DebugLocStream lists.

Definition at line 155 of file DebugLocStream.h.

Constructor & Destructor Documentation

◆ ListBuilder()

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

Definition at line 164 of file DebugLocStream.h.

References MI.

◆ ~ListBuilder()

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 40 of file DebugLocStream.cpp.

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

Member Function Documentation

◆ getLocs()

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

Definition at line 179 of file DebugLocStream.h.

◆ setTagOffset()

void llvm::DebugLocStream::ListBuilder::setTagOffset ( uint8_t  TO)

Definition at line 169 of file DebugLocStream.h.

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