Searched defs:WasmRelocationEntry (Results 1 – 1 of 1) sorted by relevance
91 struct WasmRelocationEntry { struct92 uint64_t Offset; // Where is the relocation.93 const MCSymbolWasm *Symbol; // The symbol to relocate with.94 int64_t Addend; // A value to add to the symbol.95 unsigned Type; // The type of the relocation.96 const MCSectionWasm *FixupSection; // The section the relocation is targeting.98 WasmRelocationEntry(uint64_t Offset, const MCSymbolWasm *Symbol, in WasmRelocationEntry() function104 bool hasAddend() const { return wasm::relocTypeHasAddend(Type); } in hasAddend()106 void print(raw_ostream &Out) const { in print()113 LLVM_DUMP_METHOD void dump() const { print(dbgs()); } in dump()