Lines Matching refs:UndefinedSymbols
37 GetAllUndefinedSymbols(Module *M, std::set<std::string> &UndefinedSymbols) { in GetAllUndefinedSymbols() argument
39 UndefinedSymbols.clear(); in GetAllUndefinedSymbols()
46 UndefinedSymbols.insert("main"); in GetAllUndefinedSymbols()
51 UndefinedSymbols.insert(I->getName()); in GetAllUndefinedSymbols()
63 UndefinedSymbols.insert(I->getName()); in GetAllUndefinedSymbols()
77 for (std::set<std::string>::iterator I = UndefinedSymbols.begin(); in GetAllUndefinedSymbols()
78 I != UndefinedSymbols.end(); ) in GetAllUndefinedSymbols()
80 UndefinedSymbols.erase(I++); // This symbol really is defined! in GetAllUndefinedSymbols()
106 std::set<std::string> UndefinedSymbols; in LinkInArchive() local
107 GetAllUndefinedSymbols(Composite, UndefinedSymbols); in LinkInArchive()
109 if (UndefinedSymbols.empty()) { in LinkInArchive()
139 CurrentlyUndefinedSymbols = UndefinedSymbols; in LinkInArchive()
145 if (!arch->findModulesDefiningSymbols(UndefinedSymbols, Modules, &ErrMsg)) in LinkInArchive()
157 NotDefinedByArchive.insert(UndefinedSymbols.begin(), in LinkInArchive()
158 UndefinedSymbols.end()); in LinkInArchive()
182 GetAllUndefinedSymbols(Composite, UndefinedSymbols); in LinkInArchive()
189 set_subtract(UndefinedSymbols, NotDefinedByArchive); in LinkInArchive()
193 if (UndefinedSymbols.empty()) in LinkInArchive()
195 } while (CurrentlyUndefinedSymbols != UndefinedSymbols); in LinkInArchive()