Home
last modified time | relevance | path

Searched full:unittype (Results 1 – 25 of 34) sorted by relevance

12

/llvm-project/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/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFUnit.h74 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 DDWARFVerifier.h140 /// \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 DDWP.cpp100 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 Ddebug-info.yaml211 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 Ddwarf5-addrbase-broken.test219 UnitType: DW_UT_compile
248 UnitType: DW_UT_compile
/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/
H A Dverify_invalid_rnglists.yaml29 UnitType: DW_UT_compile
H A Ddebug-str-offsets-mixed-dwarf-4-5.yaml49 UnitType: DW_UT_compile
H A Dverify_empty_debug_line_sequence.yaml38 UnitType: DW_UT_compile
H A Dprettyprint_call_site.yaml61 UnitType: 0x01 # DW_TU_compile
H A Dverify_invalid_str_offsets.yaml50 UnitType: DW_UT_compile
/llvm-project/llvm/test/tools/llvm-dwarfutil/ELF/X86/
H A Dwarning-pubnames.test52 UnitType: DW_UT_compile
H A Dwarning-pubtypes.test52 UnitType: DW_UT_compile
H A Ddwarf5-macro-opcodeop.test135 UnitType: DW_UT_compile
H A Ddwarf5-attributes.test111 UnitType: DW_UT_compile
H A Ddwarf5-line-str.test114 UnitType: DW_UT_compile
H A Ddwarf5-macro-short.test169 UnitType: DW_UT_compile
H A Ddwarf5-loclists.test171 UnitType: DW_UT_compile
H A Ddwarf5-addresses.test223 UnitType: DW_UT_compile
H A Ddwarf5-rnglists.test224 UnitType: DW_UT_compile
/llvm-project/llvm/include/llvm/ObjectYAML/
H A DDWARFYAML.h115 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 DDWP.h42 uint8_t UnitType = 0; member
/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFVerifier.cpp136 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 DDWARFUnit.cpp265 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 DDwarf.h875 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

12