Lines Matching defs:CU

306     ErrorCategory.Report("Skeleton CU has children", [&]() {
501 ? "Overlapping CU index entries"
579 // In such a case, when the Die is the CU, the ranges will overlap, and we
582 // For such targets, we should read the ranges from the CU and partition them
589 // For now, simply elide the range verification for the CU DIEs if we are
796 "File index in DW_AT_decl_file reference CU with no line table",
838 // Verify all CU relative references are valid CU offsets.
846 ErrorCategory.Report("Invalid CU offset", [&]() {
847 error() << FormEncodingString(Form) << " CU offset "
849 << " is invalid (must be less than CU size of "
934 for (const auto &CU : DCtx.compile_units()) {
935 auto Die = CU->getUnitDIE();
943 auto LineTable = DCtx.getLineTableForUnit(CU.get());
949 << "] was not able to be parsed for CU:\n";
980 for (const auto &CU : DCtx.compile_units()) {
981 auto Die = CU->getUnitDIE();
982 auto LineTable = DCtx.getLineTableForUnit(CU.get());
1013 FileIndex, CU->getCompilationDir(),
1226 // A map from CU offset to the (first) Name Index offset which claims to index
1227 // this CU.
1232 for (const auto &CU : DCtx.compile_units())
1233 CUMap[CU->getOffset()] = NotIndexed;
1238 ErrorCategory.Report("Name Index doesn't index any CU", [&]() {
1239 error() << formatv("Name Index @ {0:x} does not index any CU\n",
1245 for (uint32_t CU = 0, End = NI.getCUCount(); CU < End; ++CU) {
1246 uint64_t Offset = NI.getCUOffset(CU);
1250 ErrorCategory.Report("Name Index references non-existing CU", [&]() {
1252 "Name Index @ {0:x} references a non-existing CU @ {1:x}\n",
1262 "Name Index @ {0:x} references a CU @ {1:x}, but "
1263 "this CU is already indexed by Name Index @ {2:x}\n",
1274 warn() << formatv("CU @ {0:x} not covered by any Name Index\n", KV.first);
1601 ErrorCategory.Report("Name Index entry contains invalid CU index", [&]() {
1603 "invalid CU index ({2}).\n",
1622 ErrorCategory.Report("Name index contains mismatched CU of DIE", [&]() {
1624 "Name Index @ {0:x}: Entry @ {1:x}: mismatched CU of "
1853 auto *CU = cast<DWARFCompileUnit>(U.get());
1854 for (const DWARFDebugInfoEntry &Die : CU->dies())
1855 NumErrors += verifyNameIndexCompleteness(DWARFDie(CU, &Die), *NI);