Lines Matching refs:OptContext
2379 for (LinkContext &OptContext : ObjectContexts) { in link()
2382 outs() << "DEBUG MAP OBJECT: " << OptContext.File.FileName << "\n"; in link()
2384 outs() << "OBJECT FILE: " << OptContext.File.FileName << "\n"; in link()
2387 if (emitPaperTrailWarnings(OptContext.File, OffsetsStringPool)) in link()
2390 if (!OptContext.File.Dwarf) in link()
2397 !OptContext.File.Addresses->hasValidRelocs()) { in link()
2403 OptContext.Skip = true; in link()
2408 if (!OptContext.File.Dwarf) in link()
2412 OptContext.CompileUnits.reserve( in link()
2413 OptContext.File.Dwarf->getNumCompileUnits()); in link()
2415 for (const auto &CU : OptContext.File.Dwarf->compile_units()) { in link()
2426 registerModuleReference(CUDie, *CU, OptContext.File, OffsetsStringPool, in link()
2428 OptContext.File.Dwarf->isLittleEndian()); in link()
2499 auto &OptContext = ObjectContexts[I]; in link() local
2500 if (OptContext.Skip || !OptContext.File.Dwarf) in link()
2509 for (auto &CurrentUnit : OptContext.CompileUnits) in link()
2511 copyInvariantDebugSection(*OptContext.File.Dwarf); in link()
2513 for (auto &CurrentUnit : OptContext.CompileUnits) in link()
2514 lookForDIEsToKeep(*OptContext.File.Addresses, in link()
2515 OptContext.File.Addresses->getValidAddressRanges(), in link()
2516 OptContext.CompileUnits, in link()
2518 OptContext.File, *CurrentUnit, 0); in link()
2524 if (OptContext.File.Addresses->hasValidRelocs() || in link()
2526 SizeByObject[OptContext.File.FileName].Input = in link()
2527 getDebugInfoSize(*OptContext.File.Dwarf); in link()
2528 SizeByObject[OptContext.File.FileName].Output = in link()
2529 DIECloner(*this, TheDwarfEmitter, OptContext.File, DIEAlloc, in link()
2530 OptContext.CompileUnits, Options.Update) in link()
2531 .cloneAllCompileUnits(*OptContext.File.Dwarf, OptContext.File, in link()
2533 OptContext.File.Dwarf->isLittleEndian()); in link()
2535 if (!Options.NoOutput && !OptContext.CompileUnits.empty() && in link()
2538 OptContext.File, OptContext.File.Addresses->getValidAddressRanges(), in link()
2539 *OptContext.File.Dwarf, in link()
2540 OptContext.CompileUnits[0]->getOrigUnit().getAddressByteSize()); in link()
2543 cleanupAuxiliarryData(OptContext); in link()