LLVM 20.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::object::WasmSection Struct Reference

#include "llvm/Object/Wasm.h"

Public Member Functions

 WasmSection ()=default
 

Public Attributes

uint32_t Type = 0
 
uint32_t Offset = 0
 
StringRef Name
 
uint32_t Comdat = UINT32_MAX
 
ArrayRef< uint8_t > Content
 
std::vector< wasm::WasmRelocationRelocations
 
std::optional< uint8_t > HeaderSecSizeEncodingLen
 

Detailed Description

Definition at line 108 of file Wasm.h.

Constructor & Destructor Documentation

◆ WasmSection()

llvm::object::WasmSection::WasmSection ( )
default

Member Data Documentation

◆ Comdat

uint32_t llvm::object::WasmSection::Comdat = UINT32_MAX

Definition at line 114 of file Wasm.h.

◆ Content

ArrayRef<uint8_t> llvm::object::WasmSection::Content

◆ HeaderSecSizeEncodingLen

std::optional<uint8_t> llvm::object::WasmSection::HeaderSecSizeEncodingLen

Definition at line 118 of file Wasm.h.

Referenced by llvm::objcopy::wasm::Reader::create().

◆ Name

StringRef llvm::object::WasmSection::Name

◆ Offset

uint32_t llvm::object::WasmSection::Offset = 0

Definition at line 112 of file Wasm.h.

◆ Relocations

std::vector<wasm::WasmRelocation> llvm::object::WasmSection::Relocations

Definition at line 116 of file Wasm.h.

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

◆ Type

uint32_t llvm::object::WasmSection::Type = 0

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