Home
last modified time | relevance | path

Searched refs:WasmRelocation (Results 1 – 13 of 13) sorted by relevance

/llvm-project-15.0.7/lld/wasm/
H A DInputChunks.cpp112 for (const WasmRelocation &rel : relocations) { in relocate()
180 for (const WasmRelocation &rel : relocations) { in writeRelocations()
214 static unsigned writeCompressedReloc(uint8_t *buf, const WasmRelocation &rel, in writeCompressedReloc()
235 static unsigned getRelocWidthPadded(const WasmRelocation &rel) { in getRelocWidthPadded()
255 static unsigned getRelocWidth(const WasmRelocation &rel, uint64_t value) { in getRelocWidth()
287 for (const WasmRelocation &rel : relocations) { in calculateSize()
324 for (const WasmRelocation &rel : relocations) { in writeCompressed()
376 for (const WasmRelocation &rel : relocations) { in generateRelocationCode()
H A DInputFiles.h119 uint32_t calcNewIndex(const WasmRelocation &reloc) const;
120 uint64_t calcNewValue(const WasmRelocation &reloc, uint64_t tombstone,
122 int64_t calcNewAddend(const WasmRelocation &reloc) const;
123 Symbol *getSymbol(const WasmRelocation &reloc) const { in getSymbol()
H A DInputFiles.cpp101 uint32_t ObjFile::calcNewIndex(const WasmRelocation &reloc) const { in calcNewIndex()
114 int64_t ObjFile::calcNewAddend(const WasmRelocation &reloc) const { in calcNewAddend()
138 uint64_t ObjFile::calcNewValue(const WasmRelocation &reloc, uint64_t tombstone, in calcNewValue()
226 ArrayRef<WasmRelocation> relocs = section->Relocations; in setRelocs()
228 relocs, [](const WasmRelocation &r1, const WasmRelocation &r2) { in setRelocs()
237 auto relocLess = [](const WasmRelocation &r, uint32_t val) { in setRelocs()
246 c->setRelocations(ArrayRef<WasmRelocation>(relocsStart, relocsNext)); in setRelocs()
467 for (const WasmRelocation &reloc : section.Relocations) in parse()
H A DInputChunks.h60 ArrayRef<WasmRelocation> getRelocations() const { return relocations; } in getRelocations()
61 void setRelocations(ArrayRef<WasmRelocation> rs) { relocations = rs; } in setRelocations()
117 ArrayRef<WasmRelocation> relocations;
H A DRelocations.cpp88 for (const WasmRelocation &reloc : chunk->getRelocations()) { in scanRelocations()
H A DMarkLive.cpp118 for (const WasmRelocation reloc : c->getRelocations()) { in mark()
/llvm-project-15.0.7/lld/include/lld/Common/
H A DLLVM.h53 struct WasmRelocation;
94 using llvm::wasm::WasmRelocation;
/llvm-project-15.0.7/llvm/tools/llvm-objdump/
H A DWasmDump.cpp34 const wasm::WasmRelocation &Rel = Obj->getWasmRelocation(RelRef); in getWasmRelocationValueString()
/llvm-project-15.0.7/llvm/include/llvm/Object/
H A DWasm.h112 std::vector<wasm::WasmRelocation> Relocations; // Relocations for this section
129 const wasm::WasmRelocation &getWasmRelocation(const RelocationRef &Ref) const;
237 const wasm::WasmRelocation &getWasmRelocation(DataRefImpl Ref) const;
/llvm-project-15.0.7/llvm/lib/Object/
H A DWasmObjectFile.cpp937 wasm::WasmRelocation Reloc = {}; in parseRelocSection()
1784 const wasm::WasmRelocation &Rel = getWasmRelocation(Ref); in getRelocationOffset()
1789 const wasm::WasmRelocation &Rel = getWasmRelocation(Ref); in getRelocationSymbol()
1799 const wasm::WasmRelocation &Rel = getWasmRelocation(Ref); in getRelocationType()
1805 const wasm::WasmRelocation &Rel = getWasmRelocation(Ref); in getRelocationTypeName()
1862 const wasm::WasmRelocation &
1867 const wasm::WasmRelocation &
/llvm-project-15.0.7/llvm/include/llvm/BinaryFormat/
H A DWasm.h191 struct WasmRelocation { struct
/llvm-project-15.0.7/llvm/tools/llvm-readobj/
H A DWasmDumper.cpp88 const wasm::WasmRelocation &WasmReloc = Obj->getWasmRelocation(Reloc); in printRelocation()
/llvm-project-15.0.7/llvm/tools/obj2yaml/
H A Dwasm2yaml.cpp395 for (const wasm::WasmRelocation &Reloc : WasmSec.Relocations) { in dump()