LLVM  6.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, bool IsLittleEndian, unsigned AddressSize, const MCRegisterInfo *MRI, unsigned Indent) const
 Dump this list on OS. More...

Public Attributes

unsigned 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,
bool  IsLittleEndian,
unsigned  AddressSize,
const MCRegisterInfo MRI,
unsigned  Indent 
) const

Dump this list on OS.

Definition at line 39 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(), llvm::DWARFDebugLocDWO::LocationList::dump(), and llvm::DWARFDebugLoc::parseOneLocationList().

◆ Offset

unsigned llvm::DWARFDebugLoc::LocationList::Offset

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