Searched refs:WasmRelocation (Results 1 – 15 of 15) sorted by relevance
60 for (const WasmRelocation &rel : relocations) { in verifyRelocTargets()139 for (const WasmRelocation &rel : relocations) { in writeTo()201 for (const WasmRelocation &rel : relocations) { in writeRelocations()227 static unsigned writeCompressedReloc(uint8_t *buf, const WasmRelocation &rel, in writeCompressedReloc()247 static unsigned getRelocWidthPadded(const WasmRelocation &rel) { in getRelocWidthPadded()266 static unsigned getRelocWidth(const WasmRelocation &rel, uint64_t value) { in getRelocWidth()298 for (const WasmRelocation &rel : relocations) { in calculateSize()337 for (const WasmRelocation &rel : relocations) { in writeTo()370 for (const WasmRelocation &rel : relocations) { in generateRelocationCode()
120 uint32_t calcNewIndex(const WasmRelocation &reloc) const;121 uint64_t calcNewValue(const WasmRelocation &reloc, uint64_t tombstone) const;122 uint64_t calcNewAddend(const WasmRelocation &reloc) const;123 uint64_t calcExpectedValue(const WasmRelocation &reloc) const;124 Symbol *getSymbol(const WasmRelocation &reloc) const { in getSymbol()
103 uint32_t ObjFile::calcNewIndex(const WasmRelocation &reloc) const { in calcNewIndex()116 uint64_t ObjFile::calcNewAddend(const WasmRelocation &reloc) const { in calcNewAddend()139 uint64_t ObjFile::calcExpectedValue(const WasmRelocation &reloc) const { in calcExpectedValue()200 uint64_t ObjFile::calcNewValue(const WasmRelocation &reloc, uint64_t tombstone) const { in calcNewValue()283 ArrayRef<WasmRelocation> relocs = section->Relocations; in setRelocs()285 relocs, [](const WasmRelocation &r1, const WasmRelocation &r2) { in setRelocs()294 auto relocLess = [](const WasmRelocation &r, uint32_t val) { in setRelocs()303 c->setRelocations(ArrayRef<WasmRelocation>(relocsStart, relocsNext)); in setRelocs()369 for (const WasmRelocation &reloc : section.Relocations) in parse()
47 ArrayRef<WasmRelocation> getRelocations() const { return relocations; } in getRelocations()48 void setRelocations(ArrayRef<WasmRelocation> rs) { relocations = rs; } in setRelocations()83 ArrayRef<WasmRelocation> relocations;
89 for (const WasmRelocation &reloc : chunk->getRelocations()) { in scanRelocations()
125 for (const WasmRelocation reloc : c->getRelocations()) { in mark()
52 struct WasmRelocation;91 using llvm::wasm::WasmRelocation;
34 const wasm::WasmRelocation &Rel = Obj->getWasmRelocation(RelRef); in getWasmRelocationValueString()
110 std::vector<wasm::WasmRelocation> Relocations; // Relocations for this section127 const wasm::WasmRelocation &getWasmRelocation(const RelocationRef &Ref) const;231 const wasm::WasmRelocation &getWasmRelocation(DataRefImpl Ref) const;
113 std::vector<wasm::WasmRelocation> Relocations; // Relocations for this section130 const wasm::WasmRelocation &getWasmRelocation(const RelocationRef &Ref) const;239 const wasm::WasmRelocation &getWasmRelocation(DataRefImpl Ref) const;
760 wasm::WasmRelocation Reloc = {}; in parseRelocSection()1478 const wasm::WasmRelocation &Rel = getWasmRelocation(Ref); in getRelocationOffset()1483 const wasm::WasmRelocation &Rel = getWasmRelocation(Ref); in getRelocationSymbol()1493 const wasm::WasmRelocation &Rel = getWasmRelocation(Ref); in getRelocationType()1499 const wasm::WasmRelocation &Rel = getWasmRelocation(Ref); in getRelocationTypeName()1552 const wasm::WasmRelocation &1557 const wasm::WasmRelocation &
844 wasm::WasmRelocation Reloc = {}; in parseRelocSection()1638 const wasm::WasmRelocation &Rel = getWasmRelocation(Ref); in getRelocationOffset()1643 const wasm::WasmRelocation &Rel = getWasmRelocation(Ref); in getRelocationSymbol()1653 const wasm::WasmRelocation &Rel = getWasmRelocation(Ref); in getRelocationType()1659 const wasm::WasmRelocation &Rel = getWasmRelocation(Ref); in getRelocationTypeName()1716 const wasm::WasmRelocation &1721 const wasm::WasmRelocation &
165 struct WasmRelocation { struct
172 struct WasmRelocation { struct
88 const wasm::WasmRelocation &WasmReloc = Obj->getWasmRelocation(Reloc); in printRelocation()