Parse a DWARFv5 .debug_macro section.

Synopsis

Declared in <llvm/DebugInfo/DWARF/DWARFDebugMacro.h>

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

Return Value

Success, or an error describing why parsing failed.

Parameters

Name

Description

Units

Compile units used to resolve DW_MACRO_strx string offsets.

StringExtractor

.debug_str extractor for DW_MACRO_strp entries.

MacroData

Contents of the .debug_macro section to parse.

Created with MrDocs