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