LLVM 19.0.0git
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
llvm::WasmYAML::CustomSection Struct Reference

#include "llvm/ObjectYAML/WasmYAML.h"

Inheritance diagram for llvm::WasmYAML::CustomSection:
Inheritance graph
[legend]

Public Member Functions

 CustomSection (StringRef Name)
 
- Public Member Functions inherited from llvm::WasmYAML::Section
 Section (SectionType SecType)
 
virtual ~Section ()
 

Static Public Member Functions

static bool classof (const Section *S)
 

Public Attributes

StringRef Name
 
yaml::BinaryRef Payload
 
- Public Attributes inherited from llvm::WasmYAML::Section
SectionType Type
 
std::vector< RelocationRelocations
 
std::optional< uint8_t > HeaderSecSizeEncodingLen
 

Detailed Description

Definition at line 195 of file WasmYAML.h.

Constructor & Destructor Documentation

◆ CustomSection()

llvm::WasmYAML::CustomSection::CustomSection ( StringRef  Name)
inlineexplicit

Definition at line 196 of file WasmYAML.h.

Member Function Documentation

◆ classof()

static bool llvm::WasmYAML::CustomSection::classof ( const Section S)
inlinestatic

Definition at line 199 of file WasmYAML.h.

References llvm::WasmYAML::Section::Type, and llvm::wasm::WASM_SEC_CUSTOM.

Member Data Documentation

◆ Name

StringRef llvm::WasmYAML::CustomSection::Name

Definition at line 203 of file WasmYAML.h.

◆ Payload

yaml::BinaryRef llvm::WasmYAML::CustomSection::Payload

Definition at line 204 of file WasmYAML.h.


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