| /llvm-project-15.0.7/llvm/include/llvm/DebugInfo/DWARF/ |
| H A D | DWARFUnit.h | 70 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 D | DWARFVerifier.h | 128 uint64_t *Offset, unsigned UnitIndex, uint8_t &UnitType,
|
| /llvm-project-15.0.7/llvm/test/ObjectYAML/MachO/ |
| H A D | DWARF5-debug_info.yaml | 396 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 D | DWARFVerifier.cpp | 124 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 D | DWARFUnit.cpp | 258 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 D | verify_invalid_rnglists.yaml | 29 UnitType: DW_UT_compile
|
| /llvm-project-15.0.7/llvm/lib/DWP/ |
| H A D | DWP.cpp | 98 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 D | debug-info.yaml | 211 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 D | Dwarf.h | 465 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 D | DWP.h | 36 uint8_t UnitType = 0; member
|
| /llvm-project-15.0.7/llvm/include/llvm/ObjectYAML/ |
| H A D | DWARFYAML.h | 114 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 D | DwarfUnit.h | 315 void emitCommonHeader(bool UseOffsets, dwarf::UnitType UT);
|
| H A D | DwarfCompileUnit.cpp | 1371 dwarf::UnitType UT = Skeleton ? dwarf::DW_UT_split_compile in emitHeader()
|
| H A D | DwarfUnit.cpp | 1744 void DwarfUnit::emitCommonHeader(bool UseOffsets, dwarf::UnitType UT) { in emitCommonHeader()
|
| /llvm-project-15.0.7/llvm/tools/obj2yaml/ |
| H A D | dwarf2yaml.cpp | 219 NewUnit.Type = (dwarf::UnitType)CU->getUnitType(); in dumpDebugInfo()
|