Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFUnit.h70 uint8_t UnitType = 0; variable
104 uint8_t getUnitType() const { return UnitType; } in getUnitType()
106 return UnitType == dwarf::DW_UT_type || UnitType == dwarf::DW_UT_split_type; in isTypeUnit()
383 static bool isMatchingUnitTypeAndTag(uint8_t UnitType, dwarf::Tag Tag) { in isMatchingUnitTypeAndTag() argument
384 switch (UnitType) { in isMatchingUnitTypeAndTag()
H A DDWARFVerifier.h128 uint64_t *Offset, unsigned UnitIndex, uint8_t &UnitType,
/llvm-project-15.0.7/llvm/test/ObjectYAML/MachO/
H A DDWARF5-debug_info.yaml396 UnitType: DW_UT_compile
516 # DWARF32-NEXT: UnitType: DW_UT_compile
587 # DWARF32-YAML-NEXT: UnitType: DW_UT_compile
656 UnitType: DW_UT_compile
673 # DWARF64-YAML-NEXT: UnitType: DW_UT_compile
/llvm-project-15.0.7/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()
370 uint8_t UnitType = 0; in verifyUnitSection() local
381 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()
/llvm-project-15.0.7/llvm/test/tools/llvm-dwarfdump/X86/
H A Dverify_invalid_rnglists.yaml29 UnitType: DW_UT_compile
/llvm-project-15.0.7/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()
338 Header.UnitType = InfoData.getU8(&Offset); in parseInfoSectionUnitHeader()
342 if (Header.UnitType == dwarf::DW_UT_split_type) { in parseInfoSectionUnitHeader()
666 Header.UnitType == dwarf::DW_UT_split_compile) { in write()
682 } else if (Header.UnitType == dwarf::DW_UT_split_type) { in write()
/llvm-project-15.0.7/llvm/test/tools/yaml2obj/ELF/DWARF/
H A Ddebug-info.yaml211 UnitType: DW_UT_type
273 UnitType: DW_UT_compile
452 UnitType: DW_UT_type
479 UnitType: DW_UT_type
544 UnitType: DW_UT_type
570 UnitType: DW_UT_type
620 UnitType: DW_UT_type
658 UnitType: DW_UT_type
692 UnitType: DW_UT_type
/llvm-project-15.0.7/llvm/include/llvm/BinaryFormat/
H A DDwarf.h465 enum UnitType : unsigned char { enum
479 inline bool isUnitType(uint8_t UnitType) { in isUnitType() argument
480 switch (UnitType) { in isUnitType()
/llvm-project-15.0.7/llvm/include/llvm/DWP/
H A DDWP.h36 uint8_t UnitType = 0; member
/llvm-project-15.0.7/llvm/include/llvm/ObjectYAML/
H A DDWARFYAML.h114 llvm::dwarf::UnitType Type; // Added in DWARF 5
442 template <> struct ScalarEnumerationTraits<dwarf::UnitType> { in LLVM_YAML_IS_SEQUENCE_VECTOR()
443 static void enumeration(IO &io, dwarf::UnitType &value) { in LLVM_YAML_IS_SEQUENCE_VECTOR()
/llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfUnit.h315 void emitCommonHeader(bool UseOffsets, dwarf::UnitType UT);
H A DDwarfCompileUnit.cpp1371 dwarf::UnitType UT = Skeleton ? dwarf::DW_UT_split_compile in emitHeader()
H A DDwarfUnit.cpp1744 void DwarfUnit::emitCommonHeader(bool UseOffsets, dwarf::UnitType UT) { in emitCommonHeader()
/llvm-project-15.0.7/llvm/tools/obj2yaml/
H A Ddwarf2yaml.cpp219 NewUnit.Type = (dwarf::UnitType)CU->getUnitType(); in dumpDebugInfo()