LLVM 22.0.0git
llvm::wasm::WasmRelocation Struct Reference

#include "llvm/BinaryFormat/Wasm.h"

Public Member Functions

WasmRelocType getType () const

Public Attributes

uint8_t Type
uint32_t Index
uint64_t Offset
int64_t Addend

Detailed Description

Definition at line 450 of file Wasm.h.

Member Function Documentation

◆ getType()

WasmRelocType llvm::wasm::WasmRelocation::getType ( ) const
inline

Definition at line 456 of file Wasm.h.

References Type.

Member Data Documentation

◆ Addend

int64_t llvm::wasm::WasmRelocation::Addend

Definition at line 454 of file Wasm.h.

◆ Index

uint32_t llvm::wasm::WasmRelocation::Index

Definition at line 452 of file Wasm.h.

Referenced by llvm::object::WasmObjectFile::getRelocationSymbol().

◆ Offset

uint64_t llvm::wasm::WasmRelocation::Offset

Definition at line 453 of file Wasm.h.

Referenced by llvm::object::WasmObjectFile::getRelocationOffset().

◆ Type


The documentation for this struct was generated from the following file: