class DWARFDebugMacro

Declaration

class DWARFDebugMacro { /* full declaration omitted */ };

Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFDebugMacro.h:22

Member Variables

private std::vector<MacroList> MacroLists
A list of all the macro entries in the debug_macinfo section.

Method Overview

  • public DWARFDebugMacro()
  • public void dump(llvm::raw_ostream & OS) const
  • public bool empty() const
  • private llvm::Error parseImpl(Optional<DWARFUnitVector::compile_unit_range> Units, Optional<llvm::DataExtractor> StringExtractor, llvm::DWARFDataExtractor Data, bool IsMacro)
  • public llvm::Error parseMacinfo(llvm::DWARFDataExtractor MacroData)
  • public llvm::Error parseMacro(DWARFUnitVector::compile_unit_range Units, llvm::DataExtractor StringExtractor, llvm::DWARFDataExtractor MacroData)

Methods

DWARFDebugMacro()

Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFDebugMacro.h:107

void dump(llvm::raw_ostream& OS) const

Description

Print the macro list found within the debug_macinfo/debug_macro section.

Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFDebugMacro.h:110

Parameters

llvm::raw_ostream& OS

bool empty() const

Description

Return whether the section has any entries.

Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFDebugMacro.h:123

llvm::Error parseImpl(
    Optional<DWARFUnitVector::compile_unit_range>
        Units,
    Optional<llvm::DataExtractor> StringExtractor,
    llvm::DWARFDataExtractor Data,
    bool IsMacro)

Description

Parse the debug_macinfo/debug_macro section accessible via the 'MacroData' parameter.

Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFDebugMacro.h:128

Parameters

Optional<DWARFUnitVector::compile_unit_range> Units
Optional<llvm::DataExtractor> StringExtractor
llvm::DWARFDataExtractor Data
bool IsMacro

llvm::Error parseMacinfo(
    llvm::DWARFDataExtractor MacroData)

Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFDebugMacro.h:118

Parameters

llvm::DWARFDataExtractor MacroData

llvm::Error parseMacro(
    DWARFUnitVector::compile_unit_range Units,
    llvm::DataExtractor StringExtractor,
    llvm::DWARFDataExtractor MacroData)

Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFDebugMacro.h:112

Parameters

DWARFUnitVector::compile_unit_range Units
llvm::DataExtractor StringExtractor
llvm::DWARFDataExtractor MacroData