Lines Matching refs:imp
323 Defined *imp = impSymbol(name); in handleMinGWAutomaticImport() local
324 if (!imp) in handleMinGWAutomaticImport()
334 if (isa<DefinedImportData>(imp)) { in handleMinGWAutomaticImport()
336 cast<DefinedImportData>(imp)->getDLLName()); in handleMinGWAutomaticImport()
338 } else if (isa<DefinedRegular>(imp)) { in handleMinGWAutomaticImport()
340 toString(cast<DefinedRegular>(imp)->file)); in handleMinGWAutomaticImport()
343 warn("unable to automatically import " + name + " from " + imp->getName() + in handleMinGWAutomaticImport()
344 " from " + toString(cast<DefinedRegular>(imp)->file) + in handleMinGWAutomaticImport()
348 sym->replaceKeepingName(imp, impSize); in handleMinGWAutomaticImport()
361 log("Replacing .refptr." + name + " with " + imp->getName()); in handleMinGWAutomaticImport()
363 refptr->replaceKeepingName(imp, impSize); in handleMinGWAutomaticImport()
390 if (Symbol *imp = localImports->lookup(b)) in reportProblemSymbols() local
391 warn("<root>: locally defined symbol imported: " + toString(*imp) + in reportProblemSymbols()
392 " (defined in " + toString(imp->getFile()) + ") [LNK4217]"); in reportProblemSymbols()
414 if (Symbol *imp = localImports->lookup(sym)) in reportProblemSymbols() local
416 ": locally defined symbol imported: " + toString(*imp) + in reportProblemSymbols()
417 " (defined in " + toString(imp->getFile()) + ") [LNK4217]"); in reportProblemSymbols()
443 Symbol *imp = find(name.substr(strlen("__imp_"))); in reportUnresolvable() local
444 if (imp && isa<Defined>(imp)) in reportUnresolvable()
492 Symbol *imp = find(name.substr(strlen("__imp_"))); in resolveRemainingUndefines() local
493 if (imp && isa<Defined>(imp)) { in resolveRemainingUndefines()
494 auto *d = cast<Defined>(imp); in resolveRemainingUndefines()