LLVM 17.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

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

Detailed Description

Definition at line 194 of file WasmYAML.h.

Constructor & Destructor Documentation

◆ CustomSection()

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

Definition at line 195 of file WasmYAML.h.

Member Function Documentation

◆ classof()

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

Definition at line 198 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 202 of file WasmYAML.h.

◆ Payload

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

Definition at line 203 of file WasmYAML.h.

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