Searched defs:WasmRelocationEntry (Results 1 – 1 of 1) sorted by relevance
95 struct WasmRelocationEntry { struct96 uint64_t Offset; // Where is the relocation.97 const MCSymbolWasm *Symbol; // The symbol to relocate with.98 int64_t Addend; // A value to add to the symbol.99 unsigned Type; // The type of the relocation.100 const MCSectionWasm *FixupSection; // The section the relocation is targeting.102 WasmRelocationEntry(uint64_t Offset, const MCSymbolWasm *Symbol, in WasmRelocationEntry() argument108 bool hasAddend() const { return wasm::relocTypeHasAddend(Type); } in hasAddend()110 void print(raw_ostream &Out) const { in print()117 LLVM_DUMP_METHOD void dump() const { print(dbgs()); } in dump()