LLVM  6.0.0svn
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]
Collaboration diagram for llvm::WasmYAML::CustomSection:
Collaboration 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
 

Detailed Description

Definition at line 139 of file WasmYAML.h.

Constructor & Destructor Documentation

◆ CustomSection()

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

Definition at line 140 of file WasmYAML.h.

Member Function Documentation

◆ classof()

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

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

Referenced by llvm::yaml::sectionMapping().

◆ Payload

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

Definition at line 148 of file WasmYAML.h.

Referenced by llvm::yaml::sectionMapping().


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