Home
last modified time | relevance | path

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

/src/contrib/llvm-project/llvm/lib/MC/
H A DWasmObjectWriter.cpp92 struct WasmRelocationEntry { struct
93 uint64_t Offset; // Where is the relocation.
94 const MCSymbolWasm *Symbol; // The symbol to relocate with.
95 int64_t Addend; // A value to add to the symbol.
96 unsigned Type; // The type of the relocation.
97 const MCSectionWasm *FixupSection; // The section the relocation is targeting.
99 WasmRelocationEntry(uint64_t Offset, const MCSymbolWasm *Symbol, in WasmRelocationEntry() function
105 bool hasAddend() const { return wasm::relocTypeHasAddend(Type); } in hasAddend()
107 void print(raw_ostream &Out) const { in print()
114 LLVM_DUMP_METHOD void dump() const { print(dbgs()); } in dump()