/llvm-project/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/llvm/include/llvm/DebugInfo/DWARF/ |
H A D | DWARFUnit.h | 74 uint8_t UnitType = 0; variable 108 uint8_t getUnitType() const { return UnitType; } in getUnitType() 110 return UnitType == dwarf::DW_UT_type || UnitType == dwarf::DW_UT_split_type; in isTypeUnit() 424 static bool isMatchingUnitTypeAndTag(uint8_t UnitType, dwarf::Tag Tag) { in isMatchingUnitTypeAndTag() argument 425 switch (UnitType) { in isMatchingUnitTypeAndTag()
|
H A D | DWARFVerifier.h | 140 /// \param UnitType A reference to the type of the unit 146 uint64_t *Offset, unsigned UnitIndex, uint8_t &UnitType,
|
/llvm-project/llvm/lib/DWP/ |
H A D | DWP.cpp | 100 if (Header.Version >= 5 && Header.UnitType != dwarf::DW_UT_split_compile) in getCUIdentifiers() 104 utostr(Header.UnitType) + " found")); in getCUIdentifiers() 383 // Size: Version (2), UnitType (1), AddrSize (1), DebugAbbrevOffset (4), in parseInfoSectionUnitHeader() 396 Header.UnitType = InfoData.getU8(&Offset); in parseInfoSectionUnitHeader() 400 if (Header.UnitType == dwarf::DW_UT_split_type) { in parseInfoSectionUnitHeader() 771 Header.UnitType == dwarf::DW_UT_split_compile) in write() 779 Header.UnitType == dwarf::DW_UT_split_compile) { in write() 795 } else if (Header.UnitType == dwarf::DW_UT_split_type) { in write()
|
/llvm-project/llvm/test/tools/yaml2obj/ELF/DWARF/ |
H A D | debug-info.yaml | 211 UnitType: DW_UT_partial 273 UnitType: DW_UT_compile 452 UnitType: DW_UT_compile 479 UnitType: DW_UT_compile 544 UnitType: DW_UT_compile 570 UnitType: DW_UT_compile 620 UnitType: DW_UT_compile 658 UnitType: DW_UT_compile 720 UnitType: DW_UT_compile 725 UnitType [all...] |
/llvm-project/llvm/test/tools/dsymutil/X86/ |
H A D | dwarf5-addrbase-broken.test | 219 UnitType: DW_UT_compile 248 UnitType: DW_UT_compile
|
/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/ |
H A D | verify_invalid_rnglists.yaml | 29 UnitType: DW_UT_compile
|
H A D | debug-str-offsets-mixed-dwarf-4-5.yaml | 49 UnitType: DW_UT_compile
|
H A D | verify_empty_debug_line_sequence.yaml | 38 UnitType: DW_UT_compile
|
H A D | prettyprint_call_site.yaml | 61 UnitType: 0x01 # DW_TU_compile
|
H A D | verify_invalid_str_offsets.yaml | 50 UnitType: DW_UT_compile
|
/llvm-project/llvm/test/tools/llvm-dwarfutil/ELF/X86/ |
H A D | warning-pubnames.test | 52 UnitType: DW_UT_compile
|
H A D | warning-pubtypes.test | 52 UnitType: DW_UT_compile
|
H A D | dwarf5-macro-opcodeop.test | 135 UnitType: DW_UT_compile
|
H A D | dwarf5-attributes.test | 111 UnitType: DW_UT_compile
|
H A D | dwarf5-line-str.test | 114 UnitType: DW_UT_compile
|
H A D | dwarf5-macro-short.test | 169 UnitType: DW_UT_compile
|
H A D | dwarf5-loclists.test | 171 UnitType: DW_UT_compile
|
H A D | dwarf5-addresses.test | 223 UnitType: DW_UT_compile
|
H A D | dwarf5-rnglists.test | 224 UnitType: DW_UT_compile
|
/llvm-project/llvm/include/llvm/ObjectYAML/ |
H A D | DWARFYAML.h | 115 llvm::dwarf::UnitType Type; // Added in DWARF 5 495 template <> struct ScalarEnumerationTraits<dwarf::UnitType> { in LLVM_YAML_IS_SEQUENCE_VECTOR() 496 static void enumeration(IO &io, dwarf::UnitType &value) { in LLVM_YAML_IS_SEQUENCE_VECTOR()
|
/llvm-project/llvm/include/llvm/DWP/ |
H A D | DWP.h | 42 uint8_t UnitType = 0; member
|
/llvm-project/llvm/lib/DebugInfo/DWARF/ |
H A D | DWARFVerifier.cpp | 136 uint8_t &UnitType, bool &isUnitDWARF64) { in verifyUnitHeader() 155 UnitType = DebugInfoData.getU8(Offset); in verifyUnitHeader() 158 ValidType = dwarf::isUnitType(UnitType); in verifyUnitHeader() 160 UnitType = 0; in verifyUnitHeader() 301 uint8_t UnitType = Unit.getUnitType(); in verifyUnitContents() 302 if (!DWARFUnit::isMatchingUnitTypeAndTag(UnitType, Die.getTag())) { in verifyUnitContents() 304 error() << "Compilation unit type (" << dwarf::UnitTypeString(UnitType) in verifyUnitContents() 450 uint8_t UnitType = 0; in verifyUnitSection() 461 if (!verifyUnitHeader(DebugInfoData, &Offset, UnitIdx, UnitType, in verifyUnitSection() 127 verifyUnitHeader(const DWARFDataExtractor DebugInfoData,uint64_t * Offset,unsigned UnitIndex,uint8_t & UnitType,bool & isUnitDWARF64) verifyUnitHeader() argument 292 uint8_t UnitType = Unit.getUnitType(); verifyUnitContents() local 441 uint8_t UnitType = 0; verifyUnitSection() local
|
H A D | DWARFUnit.cpp | 265 UnitType = debug_info.getU8(offset_ptr, &Err); in extract() 276 UnitType = DW_UT_type; in extract() 278 UnitType = DW_UT_compile; in extract() 284 } else if (UnitType == DW_UT_split_compile || UnitType == DW_UT_skeleton) in extract()
|
/llvm-project/llvm/include/llvm/BinaryFormat/ |
H A D | Dwarf.h | 875 enum UnitType : unsigned char { 889 inline bool isUnitType(uint8_t UnitType) { in isUnitType() 890 switch (UnitType) { in isUnitType() 868 enum UnitType : unsigned char { global() enum 882 isUnitType(uint8_t UnitType) isUnitType() argument
|