Home
last modified time | relevance | path

Searched refs:DwarfContext (Results 1 – 4 of 4) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/DebugInfo/DWARF/
DDWARFDebugInfoTest.cpp231 std::unique_ptr<DWARFContext> DwarfContext = DWARFContext::create(**Obj); in TestAllForms() local
232 uint32_t NumCUs = DwarfContext->getNumCompileUnits(); in TestAllForms()
234 DWARFCompileUnit *U = DwarfContext->getCompileUnitAtIndex(0); in TestAllForms()
494 std::unique_ptr<DWARFContext> DwarfContext = DWARFContext::create(**Obj); in TestChildren() local
497 uint32_t NumCUs = DwarfContext->getNumCompileUnits(); in TestChildren()
499 DWARFCompileUnit *U = DwarfContext->getCompileUnitAtIndex(0); in TestChildren()
670 std::unique_ptr<DWARFContext> DwarfContext = DWARFContext::create(**Obj); in TestReferences() local
673 uint32_t NumCUs = DwarfContext->getNumCompileUnits(); in TestReferences()
675 DWARFCompileUnit *U1 = DwarfContext->getCompileUnitAtIndex(0); in TestReferences()
676 DWARFCompileUnit *U2 = DwarfContext->getCompileUnitAtIndex(1); in TestReferences()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/tools/dsymutil/
DDwarfLinker.h148 std::unique_ptr<DWARFContext> DwarfContext; member
161 DwarfContext = ObjectFile ? DWARFContext::create(*ObjectFile) : nullptr; in LinkContext()
167 DwarfContext.reset(nullptr); in Clear()
293 void cloneAllCompileUnits(DWARFContext &DwarfContext,
DDwarfLinker.cpp2157 auto DwarfContext = DWARFContext::create(*ErrOrObj); in loadClangModule() local
2160 for (const auto &CU : DwarfContext->compile_units()) { in loadClangModule()
2212 .cloneAllCompileUnits(*DwarfContext, DMO, Ranges, StringPool); in loadClangModule()
2217 DWARFContext &DwarfContext, const DebugMapObject &DMO, RangesTy &Ranges, in cloneAllCompileUnits() argument
2244 Linker.patchLineTableForUnit(*CurrentUnit, DwarfContext, Ranges, DMO); in cloneAllCompileUnits()
2246 Linker.patchRangesForUnit(*CurrentUnit, DwarfContext, DMO); in cloneAllCompileUnits()
2247 Linker.Streamer->emitLocationsForUnit(*CurrentUnit, DwarfContext); in cloneAllCompileUnits()
2365 updateAccelKind(*LC.DwarfContext); in link()
2450 if (!LinkContext.DwarfContext) in link()
2457 LinkContext.DwarfContext->getNumCompileUnits()); in link()
[all …]
/external/llvm/tools/dsymutil/
DDwarfLinker.cpp1295 void cloneAllCompileUnits(DWARFContextInMemory &DwarfContext);
3338 DWARFContextInMemory DwarfContext(*ErrOrObj); in loadClangModule() local
3340 for (const auto &CU : DwarfContext.compile_units()) { in loadClangModule()
3379 .cloneAllCompileUnits(DwarfContext); in loadClangModule()
3383 DWARFContextInMemory &DwarfContext) { in cloneAllCompileUnits() argument
3399 Linker.patchLineTableForUnit(CurrentUnit, DwarfContext); in cloneAllCompileUnits()
3402 Linker.patchRangesForUnit(CurrentUnit, DwarfContext); in cloneAllCompileUnits()
3403 Linker.Streamer->emitLocationsForUnit(CurrentUnit, DwarfContext); in cloneAllCompileUnits()
3450 DWARFContextInMemory DwarfContext(*ErrOrObj); in link() local
3451 startDebugObject(DwarfContext, *Obj); in link()
[all …]