Lines Matching refs:CU
161 bool CU = Header.getUnitType() == DW_UT_split_compile; in fixupIndexV5() local
162 uint64_t Sig = CU ? *Header.getDWOId() : Header.getTypeHash(); in fixupIndexV5()
1390 if (auto *CU = State->getNormalUnits().getUnitForOffset(Offset)) in getDIEForOffset() local
1391 return CU->getDIEForOffset(Offset); in getDIEForOffset()
1536 for (std::unique_ptr<DWARFUnit> &CU : compile_units()) { in getCompileUnitForDataAddress()
1537 if (CU->getVariableForAddress(Address)) { in getCompileUnitForDataAddress()
1538 return static_cast<DWARFCompileUnit *>(CU.get()); in getCompileUnitForDataAddress()
1548 DWARFCompileUnit *CU = getCompileUnitForCodeAddress(Address); in getDIEsForAddress() local
1549 if (!CU) in getDIEsForAddress()
1556 DWARFDie CUDie = CU->getUnitDIE(false); in getDIEsForAddress()
1557 DWARFDie CUDwoDie = CU->getNonSkeletonUnitDIE(false); in getDIEsForAddress()
1573 Result.CompileUnit = CU; in getDIEsForAddress()
1574 Result.FunctionDIE = CU->getSubroutineForAddress(Address); in getDIEsForAddress()
1601 DWARFCompileUnit *CU, uint64_t Address, FunctionNameKind Kind, in getFunctionNameAndStartLineForAddress() argument
1609 CU->getInlinedChainForAddress(Address, InlinedChain); in getFunctionNameAndStartLineForAddress()
1653 void DWARFContext::addLocalsForDie(DWARFCompileUnit *CU, DWARFDie Subprogram, in addLocalsForDie() argument
1696 if (const auto *LT = CU->getContext().getLineTableForUnit(CU)) in addLocalsForDie()
1698 *DeclFileAttr->getAsUnsignedConstant(), CU->getCompilationDir(), in addLocalsForDie()
1715 addLocalsForDie(CU, Subprogram, Child, Result); in addLocalsForDie()
1721 DWARFCompileUnit *CU = getCompileUnitForCodeAddress(Address.Address); in getLocalsForAddress() local
1722 if (!CU) in getLocalsForAddress()
1725 DWARFDie Subprogram = CU->getSubroutineForAddress(Address.Address); in getLocalsForAddress()
1727 addLocalsForDie(CU, Subprogram, Subprogram, Result); in getLocalsForAddress()
1734 DWARFCompileUnit *CU = getCompileUnitForCodeAddress(Address.Address); in getLineInfoForAddress() local
1735 if (!CU) in getLineInfoForAddress()
1739 CU, Address.Address, Spec.FNKind, Spec.FLIKind, Result.FunctionName, in getLineInfoForAddress()
1742 if (const DWARFLineTable *LineTable = getLineTableForUnit(CU)) { in getLineInfoForAddress()
1744 {Address.Address, Address.SectionIndex}, CU->getCompilationDir(), in getLineInfoForAddress()
1755 DWARFCompileUnit *CU = getCompileUnitForDataAddress(Address.Address); in getLineInfoForDataAddress() local
1756 if (!CU) in getLineInfoForDataAddress()
1759 if (DWARFDie Die = CU->getVariableForAddress(Address.Address)) { in getLineInfoForDataAddress()
1770 DWARFCompileUnit *CU = getCompileUnitForCodeAddress(Address.Address); in getLineInfoForAddressRange() local
1771 if (!CU) in getLineInfoForAddressRange()
1778 getFunctionNameAndStartLineForAddress(CU, Address.Address, Spec.FNKind, in getLineInfoForAddressRange()
1794 const DWARFLineTable *LineTable = getLineTableForUnit(CU); in getLineInfoForAddressRange()
1807 LineTable->getFileNameByIndex(Row.File, CU->getCompilationDir(), in getLineInfoForAddressRange()
1826 DWARFCompileUnit *CU = getCompileUnitForCodeAddress(Address.Address); in getInliningInfoForAddress() local
1827 if (!CU) in getInliningInfoForAddress()
1832 CU->getInlinedChainForAddress(Address.Address, InlinedChain); in getInliningInfoForAddress()
1838 LineTable = getLineTableForUnit(CU); in getInliningInfoForAddress()
1841 CU->getCompilationDir(), Spec.FLIKind, Frame)) in getInliningInfoForAddress()
1863 LineTable = getLineTableForUnit(CU); in getInliningInfoForAddress()
1867 {Address.Address, Address.SectionIndex}, CU->getCompilationDir(), in getInliningInfoForAddress()
1873 LineTable->getFileNameByIndex(CallFile, CU->getCompilationDir(), in getInliningInfoForAddress()