LLVM  10.0.0svn
Public Member Functions | Public Attributes | List of all members
llvm::DWARFDebugLoc::LocationList Struct Reference

A list of locations that contain one variable. More...

#include "llvm/DebugInfo/DWARF/DWARFDebugLoc.h"

Collaboration diagram for llvm::DWARFDebugLoc::LocationList:
Collaboration graph

Public Member Functions

void dump (raw_ostream &OS, uint64_t BaseAddress, bool IsLittleEndian, unsigned AddressSize, const MCRegisterInfo *MRI, DWARFUnit *U, DIDumpOptions DumpOpts, unsigned Indent) const
 Dump this list on OS. More...

Public Attributes

uint64_t Offset
 The beginning offset where this location list is stored in the debug_loc section. More...
SmallVector< Entry, 2 > Entries
 All the locations in which the variable is stored. More...

Detailed Description

A list of locations that contain one variable.

Definition at line 37 of file DWARFDebugLoc.h.

Member Function Documentation

◆ dump()

void DWARFDebugLoc::LocationList::dump ( raw_ostream OS,
uint64_t  BaseAddress,
bool  IsLittleEndian,
unsigned  AddressSize,
const MCRegisterInfo MRI,
DIDumpOptions  DumpOpts,
unsigned  Indent 
) const

Dump this list on OS.

Definition at line 38 of file DWARFDebugLoc.cpp.

References dumpExpression(), E, Entries, llvm::format(), and llvm::raw_ostream::indent().

Member Data Documentation

◆ Entries

SmallVector<Entry, 2> llvm::DWARFDebugLoc::LocationList::Entries

All the locations in which the variable is stored.

Definition at line 42 of file DWARFDebugLoc.h.

Referenced by dump(), and llvm::DWARFDebugLoclists::LocationList::dump().

◆ Offset

uint64_t llvm::DWARFDebugLoc::LocationList::Offset

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