Lines Matching refs:sym
318 Defined *sym,
331 if (sym) {
332 name = sym->getName();
374 auto *sym =
380 Chunk *c = sym ? sym->getChunk() : nullptr;
387 if (!sym ||
388 (!os && !isa<DefinedAbsolute>(sym) && !isa<DefinedSynthetic>(sym))) {
389 maybeReportRelocationToDiscarded(this, sym, rel);
393 uint64_t s = sym->getRVA();
481 // DWORD sym;
487 // *(base + .target) += *(base + .sym) - (base + .sym)
578 if (sym && this == repl)
579 message("Discarded " + sym->getName());
583 if (sym)
584 return sym->getName();
644 CommonChunk::CommonChunk(const COFFSymbolRef s) : sym(s) {
648 setAlignment(std::min(32U, uint32_t(PowerOf2Ceil(sym.getValue()))));
749 write64le(buf, sym->getRVA() + config->imageBase);
751 write32le(buf, sym->getRVA() + config->imageBase);
786 table[idx + 0] = rpr.sym->getRVA();