Lines Matching defs:TU
437 W.printNumber("Local TU count", LocalTypeUnitCount);
438 W.printNumber("Foreign TU count", ForeignTypeUnitCount);
679 return std::nullopt; // Invalid TU index or TU index is for a local TU
680 // The foreign TU index is the TU index minus the number of local TUs.
683 return std::nullopt; // Invalid foreign TU index.
751 uint64_t DWARFDebugNames::NameIndex::getLocalTUOffset(uint32_t TU) const {
752 assert(TU < Hdr.LocalTypeUnitCount);
755 Offsets.CUsBase + SectionOffsetSize * (Hdr.CompUnitCount + TU);
759 uint64_t DWARFDebugNames::NameIndex::getForeignTUSignature(uint32_t TU) const {
760 assert(TU < Hdr.ForeignTypeUnitCount);
764 SectionOffsetSize * (Hdr.CompUnitCount + Hdr.LocalTypeUnitCount) + 8 * TU;
869 for (uint32_t TU = 0; TU < Hdr.LocalTypeUnitCount; ++TU)
870 W.startLine() << format("LocalTU[%u]: 0x%08" PRIx64 "\n", TU,
871 getLocalTUOffset(TU));
879 for (uint32_t TU = 0; TU < Hdr.ForeignTypeUnitCount; ++TU) {
880 W.startLine() << format("ForeignTU[%u]: 0x%016" PRIx64 "\n", TU,
881 getForeignTUSignature(TU));