Searched refs:UnitType (Results 1 – 12 of 12) sorted by relevance
| /openbsd-src/gnu/llvm/llvm/include/llvm/DebugInfo/DWARF/ |
| H A D | DWARFUnit.h | 69 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 D | DWARFVerifier.h | 127 uint64_t *Offset, unsigned UnitIndex, uint8_t &UnitType,
|
| /openbsd-src/gnu/llvm/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() 369 uint8_t UnitType = 0; in verifyUnitSection() local 380 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()
|
| /openbsd-src/gnu/llvm/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() 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 D | Dwarf.h | 543 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 D | DWP.h | 36 uint8_t UnitType = 0; member
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/ObjectYAML/ |
| H A D | DWARFYAML.h | 115 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 D | DwarfUnit.h | 315 void emitCommonHeader(bool UseOffsets, dwarf::UnitType UT);
|
| H A D | DwarfCompileUnit.cpp | 1376 dwarf::UnitType UT = Skeleton ? dwarf::DW_UT_split_compile in emitHeader()
|
| H A D | DwarfUnit.cpp | 1742 void DwarfUnit::emitCommonHeader(bool UseOffsets, dwarf::UnitType UT) { in emitCommonHeader()
|
| /openbsd-src/gnu/llvm/llvm/tools/obj2yaml/ |
| H A D | dwarf2yaml.cpp | 220 NewUnit.Type = (dwarf::UnitType)CU->getUnitType(); in dumpDebugInfo()
|