Lines Matching full:undefined

152     } else if (auto *undef = dyn_cast<Undefined>(s)) {  in addDefined()
228 replaceSymbol<Undefined>(s, name, file, refState, in addUndefined()
236 else if (auto *undefined = dyn_cast<Undefined>(s)) in addUndefined() local
237 undefined->refState = std::max(undefined->refState, refState); in addUndefined()
269 } else if (auto *undefined = dyn_cast<Undefined>(s)) { in addDylib() local
270 refState = undefined->refState; in addDylib()
277 if (wasInserted || isa<Undefined>(s) || in addDylib()
299 } else if (isa<Undefined>(s)) { in addLazyArchive()
317 } else if (isa<Undefined>(s)) { in addLazyObject()
348 static Defined *createBoundarySymbol(const Undefined &sym) { in createBoundarySymbol()
354 static void handleSectionBoundarySymbol(const Undefined &sym, StringRef segSect, in handleSectionBoundarySymbol()
394 static void handleSegmentBoundarySymbol(const Undefined &sym, StringRef segName, in handleSegmentBoundarySymbol()
403 // Try to find a definition for an undefined symbol.
405 static bool recoverFromUndefinedSymbol(const Undefined &sym) { in recoverFromUndefinedSymbol()
435 // Handle -undefined. in recoverFromUndefinedSymbol()
461 MapVector<const Undefined *, UndefinedDiag> undefs;
494 // Suggest an alternative spelling of an "undefined symbol" diagnostic. Returns
497 static const Symbol *getAlternativeSpelling(const Undefined &sym, in getAlternativeSpelling()
514 // If in the symbol table and not undefined. in getAlternativeSpelling()
516 if (dyn_cast<Undefined>(s) == nullptr) in getAlternativeSpelling()
523 // correction candidates and suggests the one that exists as a non-undefined in getAlternativeSpelling()
565 if (dyn_cast<Undefined>(sym) == nullptr && in getAlternativeSpelling()
608 static void reportUndefinedSymbol(const Undefined &sym, in reportUndefinedSymbol()
611 std::string message = "undefined symbol"; in reportUndefinedSymbol()
660 assert(false && "diagnostics make sense for -undefined error|warning only"); in reportUndefinedSymbol()
673 void macho::treatUndefinedSymbol(const Undefined &sym, StringRef source) { in treatUndefinedSymbol()
680 void macho::treatUndefinedSymbol(const Undefined &sym, const InputSection *isec, in treatUndefinedSymbol()