Lines Matching defs:ctx
48 static std::vector<DefinedRegular *> getSymbols(const COFFLinkerContext &ctx) {
50 for (ObjFile *file : ctx.objFileInstances)
76 getSymbolStrings(const COFFLinkerContext &ctx,
82 os << indent16 << toString(ctx, *syms[i]);
91 void lld::coff::writeLLDMapFile(const COFFLinkerContext &ctx) {
92 if (ctx.config.lldmapFile.empty())
96 raw_fd_ostream os(ctx.config.lldmapFile, ec, sys::fs::OF_None);
98 fatal("cannot open " + ctx.config.lldmapFile + ": " + ec.message());
101 std::vector<DefinedRegular *> syms = getSymbols(ctx);
103 DenseMap<DefinedRegular *, std::string> symStr = getSymbolStrings(ctx, syms);
109 for (OutputSection *sec : ctx.outputSections) {