LLVM  9.0.0svn
Classes | Public Member Functions | Static Public Member Functions | List of all members
llvm::DWARFDebugLoclists Class Reference

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

Classes

struct  Entry
 
struct  LocationList
 

Public Member Functions

void parse (DataExtractor data, unsigned Version)
 
void dump (raw_ostream &OS, uint64_t BaseAddr, const MCRegisterInfo *RegInfo, Optional< uint64_t > Offset) const
 
LocationList constgetLocationListAtOffset (uint64_t Offset) const
 Return the location list at the given offset or nullptr. More...
 

Static Public Member Functions

static Optional< LocationListparseOneLocationList (DataExtractor Data, unsigned *Offset, unsigned Version)
 

Detailed Description

Definition at line 75 of file DWARFDebugLoc.h.

Member Function Documentation

◆ dump()

void DWARFDebugLoclists::dump ( raw_ostream OS,
uint64_t  BaseAddr,
const MCRegisterInfo RegInfo,
Optional< uint64_t >  Offset 
) const

◆ getLocationListAtOffset()

DWARFDebugLoclists::LocationList const * DWARFDebugLoclists::getLocationListAtOffset ( uint64_t  Offset) const

Return the location list at the given offset or nullptr.

Definition at line 214 of file DWARFDebugLoc.cpp.

References llvm::bsearch(), llvm::DWARFDebugLoc::LocationList::Offset, and llvm::DWARFDebugLoclists::LocationList::Offset.

◆ parse()

void DWARFDebugLoclists::parse ( DataExtractor  data,
unsigned  Version 
)

◆ parseOneLocationList()

Optional< DWARFDebugLoclists::LocationList > DWARFDebugLoclists::parseOneLocationList ( DataExtractor  Data,
unsigned Offset,
unsigned  Version 
)
static

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