Lines Matching refs:Defined
66 static void sortUniqueSymbols(std::vector<Defined *> &syms) { in sortUniqueSymbols()
68 using SortEntry = std::pair<Defined *, size_t>; in sortUniqueSymbols()
98 std::vector<Defined *> &syms, in getSymbols()
99 std::vector<Defined *> &staticSyms) { in getSymbols()
114 } else if (auto *sym = dyn_cast<Defined>(b)) { in getSymbols()
129 if (auto *thunkSym = dyn_cast<Defined>(file->thunkSym)) in getSymbols()
132 if (auto *impSym = dyn_cast_or_null<Defined>(file->impSym)) in getSymbols()
141 static DenseMap<Defined *, std::string>
142 getSymbolStrings(const COFFLinkerContext &ctx, ArrayRef<Defined *> syms) { in getSymbolStrings()
146 Defined *sym = syms[i]; in getSymbolStrings()
195 DenseMap<Defined *, std::string> ret; in getSymbolStrings()
214 std::vector<Defined *> syms; in writeMapFile()
215 std::vector<Defined *> staticSyms; in writeMapFile()
220 DenseMap<Defined *, std::string> symStr = getSymbolStrings(ctx, syms); in writeMapFile()
221 DenseMap<Defined *, std::string> staticSymStr = in writeMapFile()
289 for (Defined *sym : syms) in writeMapFile()
299 Defined *entry = dyn_cast_or_null<Defined>(config->entry); in writeMapFile()
315 for (Defined *sym : staticSyms) in writeMapFile()