Lines Matching defs:CU

76     for (const auto &CU : compile_units())
77 CU->dump(OS);
127 for (const auto &CU : compile_units()) {
128 savedAddressByteSize = CU->getAddressByteSize();
130 CU->getCompileUnitDIE()->getAttributeValueAsSectionOffset(
131 CU.get(), DW_AT_stmt_list, -1U);
321 std::unique_ptr<DWARFCompileUnit> CU(new DWARFCompileUnit(
325 if (!CU->extract(DIData, &offset)) {
328 CUs.push_back(std::move(CU));
413 std::unique_ptr<DWARFCompileUnit> *CU =
415 if (CU != CUs.end()) {
416 return CU->get();
428 static bool getFileNameForCompileUnit(DWARFCompileUnit *CU,
432 if (!CU || !LineTable || Kind == FileLineInfoKind::None ||
439 if (const char *CompilationDir = CU->getCompilationDir()) {
448 static bool getFileLineInfoForCompileUnit(DWARFCompileUnit *CU,
453 if (!CU || !LineTable)
461 if (!getFileNameForCompileUnit(CU, LineTable, Row.File, Kind,
469 static bool getFunctionNameForAddress(DWARFCompileUnit *CU, uint64_t Address,
478 CU->getInlinedChainForAddress(Address);
494 DWARFCompileUnit *CU = getCompileUnitForAddress(Address);
495 if (!CU)
497 getFunctionNameForAddress(CU, Address, Spec.FNKind, Result.FunctionName);
499 const DWARFLineTable *LineTable = getLineTableForCompileUnit(CU);
500 getFileLineInfoForCompileUnit(CU, LineTable, Address, Spec.FLIKind, Result);
509 DWARFCompileUnit *CU = getCompileUnitForAddress(Address);
510 if (!CU)
514 getFunctionNameForAddress(CU, Address, Spec.FNKind, FunctionName);
525 const DWARFLineTable *LineTable = getLineTableForCompileUnit(CU);
536 getFileNameForCompileUnit(CU, LineTable, Row.File, Spec.FLIKind,
552 DWARFCompileUnit *CU = getCompileUnitForAddress(Address);
553 if (!CU)
558 CU->getInlinedChainForAddress(Address);
564 LineTable = getLineTableForCompileUnit(CU);
565 if (getFileLineInfoForCompileUnit(CU, LineTable, Address, Spec.FLIKind,
585 LineTable = getLineTableForCompileUnit(CU);
587 getFileLineInfoForCompileUnit(CU, LineTable, Address, Spec.FLIKind,
592 getFileNameForCompileUnit(CU, LineTable, CallFile, Spec.FLIKind,