Lines Matching refs:Defined
67 static void sortUniqueSymbols(std::vector<Defined *> &syms, in sortUniqueSymbols()
70 using SortEntry = std::pair<Defined *, size_t>; in sortUniqueSymbols()
100 std::vector<Defined *> &syms, in getSymbols()
101 std::vector<Defined *> &staticSyms) { in getSymbols()
116 } else if (auto *sym = dyn_cast<Defined>(b)) { in getSymbols()
131 if (auto *thunkSym = dyn_cast<Defined>(file->thunkSym)) in getSymbols()
134 if (auto *impSym = dyn_cast_or_null<Defined>(file->impSym)) in getSymbols()
143 static DenseMap<Defined *, std::string>
144 getSymbolStrings(const COFFLinkerContext &ctx, ArrayRef<Defined *> syms) { in getSymbolStrings()
148 Defined *sym = syms[i]; in getSymbolStrings()
197 DenseMap<Defined *, std::string> ret; in getSymbolStrings()
217 std::vector<Defined *> syms; in writeMapFile()
218 std::vector<Defined *> staticSyms; in writeMapFile()
223 DenseMap<Defined *, std::string> symStr = getSymbolStrings(ctx, syms); in writeMapFile()
224 DenseMap<Defined *, std::string> staticSymStr = in writeMapFile()
293 for (Defined *sym : syms) in writeMapFile()
303 Defined *entry = dyn_cast_or_null<Defined>(ctx.config.entry); in writeMapFile()
319 for (Defined *sym : staticSyms) in writeMapFile()