LLVM  11.0.0git
Classes | Public Member Functions | List of all members
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. More...
 
Error parseMacro (DWARFUnitVector::iterator_range Units, DataExtractor StringExtractor, DWARFDataExtractor MacroData)
 
Error parseMacinfo (DWARFDataExtractor MacroData)
 
bool empty () const
 Return whether the section has any entries. More...
 

Detailed Description

Definition at line 23 of file DWARFDebugMacro.h.

Constructor & Destructor Documentation

◆ DWARFDebugMacro()

llvm::DWARFDebugMacro::DWARFDebugMacro ( )
default

Member Function Documentation

◆ dump()

void DWARFDebugMacro::dump ( raw_ostream OS) const

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

Definition at line 39 of file DWARFDebugMacro.cpp.

References llvm::format().

◆ empty()

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

Return whether the section has any entries.

Definition at line 121 of file DWARFDebugMacro.h.

References llvm::Data.

◆ parseMacinfo()

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

Definition at line 116 of file DWARFDebugMacro.h.

References llvm::None.

◆ parseMacro()

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

Definition at line 110 of file DWARFDebugMacro.h.


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