Verify the contents of a .debug_str_offsets[.dwo]section.

Synopsis

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

bool
verifyDebugStrOffsets(
    std::optional<dwarf::DwarfFormat> LegacyFormat,
    StringRef SectionName,
    DWARFSection const& Section,
    StringRef StrData);

Return Value

true if the section verifies successfully, false otherwise.

Parameters

Name

Description

LegacyFormat

If set, treat the section as a single legacy contribution with this DWARF format; otherwise parse DWARF v5 headers.

SectionName

The name of the section being verified (for diagnostics).

Section

The string‐offsets section data to verify.

StrData

The corresponding string section contents.

Created with MrDocs