Lines Matching defs:ctx
27 COFFLinkerContext &ctx,
29 : manualExcludeSymbols(manualExcludeSymbols), ctx(ctx) {
87 if (ctx.config.machine == I386) {
154 if (ctx.symtab.find(("__imp_" + sym->getName()).str()))
206 lld::coff::addWrappedSymbols(COFFLinkerContext &ctx, opt::InputArgList &args) {
215 Symbol *sym = ctx.symtab.findUnderscore(name);
220 ctx.symtab.addUndefined(mangle("__real_" + name, ctx.config.machine));
222 ctx.symtab.addUndefined(mangle("__wrap_" + name, ctx.config.machine));
249 void lld::coff::wrapSymbols(COFFLinkerContext &ctx,
256 Symbol *imp = ctx.symtab.find(("__imp_" + w.sym->getName()).str());
263 ctx, saver().save("__imp_" + w.wrap->getName()), d);
264 ctx.symtab.localImportChunks.push_back(wrapimp->getChunk());
271 parallelForEach(ctx.objFileInstances, [&](ObjFile *file) {