LLVM 22.0.0git
llvm::DWARFDebugMacro Class Reference

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

Public Member Functions

 DWARFDebugMacro ()=default
void dump (raw_ostream &OS) const
 Print the macro list found within the debug_macinfo/debug_macro section.
Error parseMacro (DWARFUnitVector::compile_unit_range Units, DataExtractor StringExtractor, DWARFDataExtractor MacroData)
Error parseMacinfo (DWARFDataExtractor MacroData)
bool empty () const
 Return whether the section has any entries.
bool hasEntryForOffset (uint64_t Offset) const

Detailed Description

Definition at line 28 of file DWARFDebugMacro.h.

Constructor & Destructor Documentation

◆ DWARFDebugMacro()

llvm::DWARFDebugMacro::DWARFDebugMacro ( )
default

Member Function Documentation

◆ dump()

void DWARFDebugMacro::dump ( raw_ostream & OS) const

◆ empty()

bool llvm::DWARFDebugMacro::empty ( ) const
inline

Return whether the section has any entries.

Definition at line 132 of file DWARFDebugMacro.h.

◆ hasEntryForOffset()

bool llvm::DWARFDebugMacro::hasEntryForOffset ( uint64_t Offset) const
inline

Definition at line 134 of file DWARFDebugMacro.h.

References llvm::List, and llvm::Offset.

◆ parseMacinfo()

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

Definition at line 127 of file DWARFDebugMacro.h.

◆ parseMacro()

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

Definition at line 121 of file DWARFDebugMacro.h.


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