Lines Matching refs:imp

329   Defined *imp = impSymbol(name);  in handleMinGWAutomaticImport()  local
330 if (!imp) in handleMinGWAutomaticImport()
340 if (isa<DefinedImportData>(imp)) { in handleMinGWAutomaticImport()
342 cast<DefinedImportData>(imp)->getDLLName()); in handleMinGWAutomaticImport()
344 } else if (isa<DefinedRegular>(imp)) { in handleMinGWAutomaticImport()
346 toString(cast<DefinedRegular>(imp)->file)); in handleMinGWAutomaticImport()
349 warn("unable to automatically import " + name + " from " + imp->getName() + in handleMinGWAutomaticImport()
350 " from " + toString(cast<DefinedRegular>(imp)->file) + in handleMinGWAutomaticImport()
354 sym->replaceKeepingName(imp, impSize); in handleMinGWAutomaticImport()
367 log("Replacing .refptr." + name + " with " + imp->getName()); in handleMinGWAutomaticImport()
369 refptr->replaceKeepingName(imp, impSize); in handleMinGWAutomaticImport()
393 if (Symbol *imp = localImports->lookup(b)) in reportProblemSymbols() local
394 warn("<root>: locally defined symbol imported: " + toString(*imp) + in reportProblemSymbols()
395 " (defined in " + toString(imp->getFile()) + ") [LNK4217]"); in reportProblemSymbols()
417 if (Symbol *imp = localImports->lookup(sym)) in reportProblemSymbols() local
419 ": locally defined symbol imported: " + toString(*imp) + in reportProblemSymbols()
420 " (defined in " + toString(imp->getFile()) + ") [LNK4217]"); in reportProblemSymbols()
446 Symbol *imp = find(name.substr(strlen("__imp_"))); in reportUnresolvable() local
447 if (imp && isa<Defined>(imp)) in reportUnresolvable()
494 Symbol *imp = find(name.substr(strlen("__imp_"))); in resolveRemainingUndefines() local
495 if (imp && isa<Defined>(imp)) { in resolveRemainingUndefines()
496 auto *d = cast<Defined>(imp); in resolveRemainingUndefines()