Lines Matching refs:imp
327 Defined *imp = impSymbol(name); in handleMinGWAutomaticImport() local
328 if (!imp) in handleMinGWAutomaticImport()
338 if (isa<DefinedImportData>(imp)) { in handleMinGWAutomaticImport()
340 cast<DefinedImportData>(imp)->getDLLName()); in handleMinGWAutomaticImport()
342 } else if (isa<DefinedRegular>(imp)) { in handleMinGWAutomaticImport()
344 toString(cast<DefinedRegular>(imp)->file)); in handleMinGWAutomaticImport()
347 warn("unable to automatically import " + name + " from " + imp->getName() + in handleMinGWAutomaticImport()
348 " from " + toString(cast<DefinedRegular>(imp)->file) + in handleMinGWAutomaticImport()
352 sym->replaceKeepingName(imp, impSize); in handleMinGWAutomaticImport()
365 log("Replacing .refptr." + name + " with " + imp->getName()); in handleMinGWAutomaticImport()
367 refptr->replaceKeepingName(imp, impSize); in handleMinGWAutomaticImport()
392 if (Symbol *imp = localImports->lookup(b)) in reportProblemSymbols() local
393 warn("<root>: locally defined symbol imported: " + toString(ctx, *imp) + in reportProblemSymbols()
394 " (defined in " + toString(imp->getFile()) + ") [LNK4217]"); in reportProblemSymbols()
416 if (Symbol *imp = localImports->lookup(sym)) in reportProblemSymbols() local
418 ": locally defined symbol imported: " + toString(ctx, *imp) + in reportProblemSymbols()
419 " (defined in " + toString(imp->getFile()) + ") [LNK4217]"); in reportProblemSymbols()
445 Symbol *imp = find(name.substr(strlen("__imp_"))); in reportUnresolvable() local
446 if (imp && isa<Defined>(imp)) in reportUnresolvable()
493 Symbol *imp = find(name.substr(strlen("__imp_"))); in resolveRemainingUndefines() local
494 if (imp && isa<Defined>(imp)) { in resolveRemainingUndefines()
495 auto *d = cast<Defined>(imp); in resolveRemainingUndefines()