reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
538 if (RelEntry.Type == wasm::R_WASM_GLOBAL_INDEX_LEB && !RelEntry.Symbol->isGlobal()) { 538 if (RelEntry.Type == wasm::R_WASM_GLOBAL_INDEX_LEB && !RelEntry.Symbol->isGlobal()) { 539 assert(GOTIndices.count(RelEntry.Symbol) > 0 && "symbol not found in GOT index space"); 540 return GOTIndices[RelEntry.Symbol]; 543 switch (RelEntry.Type) { 548 const MCSymbolWasm *Sym = resolveSymbol(*RelEntry.Symbol); 554 return getRelocationIndexValue(RelEntry); 559 assert(WasmIndices.count(RelEntry.Symbol) > 0 && "symbol not found in wasm index space"); 560 return WasmIndices[RelEntry.Symbol]; 564 static_cast<const MCSectionWasm &>(RelEntry.Symbol->getSection()); 565 return Section.getSectionOffset() + RelEntry.Addend; 572 const MCSymbolWasm *Sym = resolveSymbol(*RelEntry.Symbol); 579 return Segment.Offset + Ref.Offset + RelEntry.Addend;