ΒΆuint32_t serializeSectionKind(
    llvm::DWARFSectionKind Kind,
    unsigned int IndexVersion)

Description

Convert the internal value for a section kind to an on-disk value. The conversion depends on the version of the index section. IndexVersion is expected to be either 2 for pre-standard GNU proposal or 5 for DWARFv5 package file.

Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFUnitIndex.h:91

Parameters

llvm::DWARFSectionKind Kind
unsigned int IndexVersion