Lines Matching defs:CU

95             createError("Failed to parse CU header in DWP file: " +
127 logAllUnhandledErrors(createError("Could not find CU offset 0x" +
135 logAllUnhandledErrors(createError("Length of CU in CU index doesn't "
157 createError("Failed to parse CU header in DWP file: " +
161 bool CU = Header.getUnitType() == DW_UT_split_compile;
162 uint64_t Sig = CU ? *Header.getDWOId() : Header.getTypeHash();
583 // Allow multi-threaded access if there is a .dwp file as the CU index and
856 // the CU DIE's DW_AT_str_offsets attribute). The header is located either
1391 if (auto *CU = State->getNormalUnits().getUnitForOffset(Offset))
1392 return CU->getDIEForOffset(Offset);
1536 // So, we walk the CU's and their child DI's manually, looking for the
1538 for (std::unique_ptr<DWARFUnit> &CU : compile_units()) {
1539 if (CU->getVariableForAddress(Address)) {
1540 return static_cast<DWARFCompileUnit *>(CU.get());
1550 DWARFCompileUnit *CU = getCompileUnitForCodeAddress(Address);
1551 if (!CU)
1558 DWARFDie CUDie = CU->getUnitDIE(false);
1559 DWARFDie CUDwoDie = CU->getNonSkeletonUnitDIE(false);
1575 Result.CompileUnit = CU;
1576 Result.FunctionDIE = CU->getSubroutineForAddress(Address);
1603 DWARFCompileUnit *CU, uint64_t Address, FunctionNameKind Kind,
1611 CU->getInlinedChainForAddress(Address, InlinedChain);
1655 void DWARFContext::addLocalsForDie(DWARFCompileUnit *CU, DWARFDie Subprogram,
1698 if (const auto *LT = CU->getContext().getLineTableForUnit(CU))
1700 *DeclFileAttr->getAsUnsignedConstant(), CU->getCompilationDir(),
1717 addLocalsForDie(CU, Subprogram, Child, Result);
1723 DWARFCompileUnit *CU = getCompileUnitForCodeAddress(Address.Address);
1724 if (!CU)
1727 DWARFDie Subprogram = CU->getSubroutineForAddress(Address.Address);
1729 addLocalsForDie(CU, Subprogram, Subprogram, Result);
1736 DWARFCompileUnit *CU = getCompileUnitForCodeAddress(Address.Address);
1737 if (!CU)
1741 CU, Address.Address, Spec.FNKind, Spec.FLIKind, Result.FunctionName,
1744 if (const DWARFLineTable *LineTable = getLineTableForUnit(CU)) {
1746 {Address.Address, Address.SectionIndex}, CU->getCompilationDir(),
1757 DWARFCompileUnit *CU = getCompileUnitForDataAddress(Address.Address);
1758 if (!CU)
1761 if (DWARFDie Die = CU->getVariableForAddress(Address.Address)) {
1772 DWARFCompileUnit *CU = getCompileUnitForCodeAddress(Address.Address);
1773 if (!CU)
1780 getFunctionNameAndStartLineForAddress(CU, Address.Address, Spec.FNKind,
1796 const DWARFLineTable *LineTable = getLineTableForUnit(CU);
1809 LineTable->getFileNameByIndex(Row.File, CU->getCompilationDir(),
1828 DWARFCompileUnit *CU = getCompileUnitForCodeAddress(Address.Address);
1829 if (!CU)
1834 CU->getInlinedChainForAddress(Address.Address, InlinedChain);
1840 LineTable = getLineTableForUnit(CU);
1843 CU->getCompilationDir(), Spec.FLIKind, Frame))
1865 LineTable = getLineTableForUnit(CU);
1869 {Address.Address, Address.SectionIndex}, CU->getCompilationDir(),
1875 LineTable->getFileNameByIndex(CallFile, CU->getCompilationDir(),