Home
last modified time | relevance | path

Searched defs:WasmRelocationEntry (Results 1 – 2 of 2) sorted by relevance

/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
H A DWasmObjectWriter.cpp137 struct WasmRelocationEntry { struct
138 uint64_t Offset; // Where is the relocation.
139 const MCSymbolWasm *Symbol; // The symbol to relocate with.
140 int64_t Addend; // A value to add to the symbol.
141 unsigned Type; // The type of the relocation.
142 const MCSectionWasm *FixupSection; // The section the relocation is targeting.
144 WasmRelocationEntry(uint64_t Offset, const MCSymbolWasm *Symbol, in WasmRelocationEntry() function
150 bool hasAddend() const { return wasm::relocTypeHasAddend(Type); } in hasAddend()
152 void print(raw_ostream &Out) const { in print()
159 LLVM_DUMP_METHOD void dump() const { print(dbgs()); } in dump()
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/MC/
H A DWasmObjectWriter.cpp93 struct WasmRelocationEntry { struct
94 uint64_t Offset; // Where is the relocation.
95 const MCSymbolWasm *Symbol; // The symbol to relocate with.
96 int64_t Addend; // A value to add to the symbol.
97 unsigned Type; // The type of the relocation.
98 const MCSectionWasm *FixupSection; // The section the relocation is targeting.
100 WasmRelocationEntry(uint64_t Offset, const MCSymbolWasm *Symbol, in WasmRelocationEntry() function
106 bool hasAddend() const { return wasm::relocTypeHasAddend(Type); } in hasAddend()
108 void print(raw_ostream &Out) const { in print()
115 LLVM_DUMP_METHOD void dump() const { print(dbgs()); } in dump()