Home
last modified time | relevance | path

Searched refs:UnitType (Results 1 – 12 of 12) sorted by relevance

/openbsd-src/gnu/llvm/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFUnit.h69 uint8_t UnitType = 0; variable
103 uint8_t getUnitType() const { return UnitType; } in getUnitType()
105 return UnitType == dwarf::DW_UT_type || UnitType == dwarf::DW_UT_split_type; in isTypeUnit()
407 static bool isMatchingUnitTypeAndTag(uint8_t UnitType, dwarf::Tag Tag) { in isMatchingUnitTypeAndTag() argument
408 switch (UnitType) { in isMatchingUnitTypeAndTag()
H A DDWARFVerifier.h127 uint64_t *Offset, unsigned UnitIndex, uint8_t &UnitType,
/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/DWARF/
H A DDWARFVerifier.cpp124 uint8_t &UnitType, bool &isUnitDWARF64) { in verifyUnitHeader() argument
143 UnitType = DebugInfoData.getU8(Offset); in verifyUnitHeader()
146 ValidType = dwarf::isUnitType(UnitType); in verifyUnitHeader()
148 UnitType = 0; in verifyUnitHeader()
246 uint8_t UnitType = Unit.getUnitType(); in verifyUnitContents() local
247 if (!DWARFUnit::isMatchingUnitTypeAndTag(UnitType, Die.getTag())) { in verifyUnitContents()
248 error() << "Compilation unit type (" << dwarf::UnitTypeString(UnitType) in verifyUnitContents()
369 uint8_t UnitType = 0; in verifyUnitSection() local
380 if (!verifyUnitHeader(DebugInfoData, &Offset, UnitIdx, UnitType, in verifyUnitSection()
H A DDWARFUnit.cpp258 UnitType = debug_info.getU8(offset_ptr, &Err); in extract()
269 UnitType = DW_UT_type; in extract()
271 UnitType = DW_UT_compile; in extract()
277 } else if (UnitType == DW_UT_split_compile || UnitType == DW_UT_skeleton) in extract()
/openbsd-src/gnu/llvm/llvm/lib/DWP/
H A DDWP.cpp98 if (Header.Version >= 5 && Header.UnitType != dwarf::DW_UT_split_compile) in getCUIdentifiers()
102 utostr(Header.UnitType) + " found")); in getCUIdentifiers()
346 Header.UnitType = InfoData.getU8(&Offset); in parseInfoSectionUnitHeader()
350 if (Header.UnitType == dwarf::DW_UT_split_type) { in parseInfoSectionUnitHeader()
679 Header.UnitType == dwarf::DW_UT_split_compile) { in write()
695 } else if (Header.UnitType == dwarf::DW_UT_split_type) { in write()
/openbsd-src/gnu/llvm/llvm/include/llvm/BinaryFormat/
H A DDwarf.h543 enum UnitType : unsigned char { enum
557 inline bool isUnitType(uint8_t UnitType) { in isUnitType() argument
558 switch (UnitType) { in isUnitType()
/openbsd-src/gnu/llvm/llvm/include/llvm/DWP/
H A DDWP.h36 uint8_t UnitType = 0; member
/openbsd-src/gnu/llvm/llvm/include/llvm/ObjectYAML/
H A DDWARFYAML.h115 llvm::dwarf::UnitType Type; // Added in DWARF 5
443 template <> struct ScalarEnumerationTraits<dwarf::UnitType> { in LLVM_YAML_IS_SEQUENCE_VECTOR()
444 static void enumeration(IO &io, dwarf::UnitType &value) { in LLVM_YAML_IS_SEQUENCE_VECTOR()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfUnit.h315 void emitCommonHeader(bool UseOffsets, dwarf::UnitType UT);
H A DDwarfCompileUnit.cpp1376 dwarf::UnitType UT = Skeleton ? dwarf::DW_UT_split_compile in emitHeader()
H A DDwarfUnit.cpp1742 void DwarfUnit::emitCommonHeader(bool UseOffsets, dwarf::UnitType UT) { in emitCommonHeader()
/openbsd-src/gnu/llvm/llvm/tools/obj2yaml/
H A Ddwarf2yaml.cpp220 NewUnit.Type = (dwarf::UnitType)CU->getUnitType(); in dumpDebugInfo()