#include "llvm/ObjectYAML/WasmYAML.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/BinaryFormat/Wasm.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/YAMLTraits.h"
namespace llvm {
namespace WasmYAML {
Section::~Section() = default;
}
namespace yaml {
void MappingTraits<WasmYAML::FileHeader>::mapping(
IO &IO, WasmYAML::FileHeader &FileHdr) { … }
void MappingTraits<WasmYAML::Object>::mapping(IO &IO,
WasmYAML::Object &Object) { … }
static void commonSectionMapping(IO &IO, WasmYAML::Section &Section) { … }
static void sectionMapping(IO &IO, WasmYAML::DylinkSection &Section) { … }
static void sectionMapping(IO &IO, WasmYAML::NameSection &Section) { … }
static void sectionMapping(IO &IO, WasmYAML::LinkingSection &Section) { … }
static void sectionMapping(IO &IO, WasmYAML::ProducersSection &Section) { … }
static void sectionMapping(IO &IO, WasmYAML::TargetFeaturesSection &Section) { … }
static void sectionMapping(IO &IO, WasmYAML::CustomSection &Section) { … }
static void sectionMapping(IO &IO, WasmYAML::TypeSection &Section) { … }
static void sectionMapping(IO &IO, WasmYAML::ImportSection &Section) { … }
static void sectionMapping(IO &IO, WasmYAML::FunctionSection &Section) { … }
static void sectionMapping(IO &IO, WasmYAML::TableSection &Section) { … }
static void sectionMapping(IO &IO, WasmYAML::MemorySection &Section) { … }
static void sectionMapping(IO &IO, WasmYAML::TagSection &Section) { … }
static void sectionMapping(IO &IO, WasmYAML::GlobalSection &Section) { … }
static void sectionMapping(IO &IO, WasmYAML::ExportSection &Section) { … }
static void sectionMapping(IO &IO, WasmYAML::StartSection &Section) { … }
static void sectionMapping(IO &IO, WasmYAML::ElemSection &Section) { … }
static void sectionMapping(IO &IO, WasmYAML::CodeSection &Section) { … }
static void sectionMapping(IO &IO, WasmYAML::DataSection &Section) { … }
static void sectionMapping(IO &IO, WasmYAML::DataCountSection &Section) { … }
void MappingTraits<std::unique_ptr<WasmYAML::Section>>::mapping(
IO &IO, std::unique_ptr<WasmYAML::Section> &Section) { … }
void ScalarEnumerationTraits<WasmYAML::SectionType>::enumeration(
IO &IO, WasmYAML::SectionType &Type) { … }
void MappingTraits<WasmYAML::Signature>::mapping(
IO &IO, WasmYAML::Signature &Signature) { … }
void MappingTraits<WasmYAML::Table>::mapping(IO &IO, WasmYAML::Table &Table) { … }
void MappingTraits<WasmYAML::Function>::mapping(IO &IO,
WasmYAML::Function &Function) { … }
void MappingTraits<WasmYAML::Relocation>::mapping(
IO &IO, WasmYAML::Relocation &Relocation) { … }
void MappingTraits<WasmYAML::NameEntry>::mapping(
IO &IO, WasmYAML::NameEntry &NameEntry) { … }
void MappingTraits<WasmYAML::ProducerEntry>::mapping(
IO &IO, WasmYAML::ProducerEntry &ProducerEntry) { … }
void ScalarEnumerationTraits<WasmYAML::FeaturePolicyPrefix>::enumeration(
IO &IO, WasmYAML::FeaturePolicyPrefix &Kind) { … }
void MappingTraits<WasmYAML::FeatureEntry>::mapping(
IO &IO, WasmYAML::FeatureEntry &FeatureEntry) { … }
void MappingTraits<WasmYAML::SegmentInfo>::mapping(
IO &IO, WasmYAML::SegmentInfo &SegmentInfo) { … }
void MappingTraits<WasmYAML::LocalDecl>::mapping(
IO &IO, WasmYAML::LocalDecl &LocalDecl) { … }
void MappingTraits<WasmYAML::Limits>::mapping(IO &IO,
WasmYAML::Limits &Limits) { … }
void MappingTraits<WasmYAML::ElemSegment>::mapping(
IO &IO, WasmYAML::ElemSegment &Segment) { … }
void MappingTraits<WasmYAML::Import>::mapping(IO &IO,
WasmYAML::Import &Import) { … }
void MappingTraits<WasmYAML::Export>::mapping(IO &IO,
WasmYAML::Export &Export) { … }
void MappingTraits<WasmYAML::Global>::mapping(IO &IO,
WasmYAML::Global &Global) { … }
void MappingTraits<WasmYAML::InitExpr>::mapping(IO &IO,
WasmYAML::InitExpr &Expr) { … }
void MappingTraits<WasmYAML::DataSegment>::mapping(
IO &IO, WasmYAML::DataSegment &Segment) { … }
void MappingTraits<WasmYAML::InitFunction>::mapping(
IO &IO, WasmYAML::InitFunction &Init) { … }
void ScalarEnumerationTraits<WasmYAML::ComdatKind>::enumeration(
IO &IO, WasmYAML::ComdatKind &Kind) { … }
void MappingTraits<WasmYAML::ComdatEntry>::mapping(
IO &IO, WasmYAML::ComdatEntry &ComdatEntry) { … }
void MappingTraits<WasmYAML::Comdat>::mapping(IO &IO,
WasmYAML::Comdat &Comdat) { … }
void MappingTraits<WasmYAML::SymbolInfo>::mapping(IO &IO,
WasmYAML::SymbolInfo &Info) { … }
void MappingTraits<WasmYAML::DylinkImportInfo>::mapping(
IO &IO, WasmYAML::DylinkImportInfo &Info) { … }
void MappingTraits<WasmYAML::DylinkExportInfo>::mapping(
IO &IO, WasmYAML::DylinkExportInfo &Info) { … }
void ScalarBitSetTraits<WasmYAML::LimitFlags>::bitset(
IO &IO, WasmYAML::LimitFlags &Value) { … }
void ScalarBitSetTraits<WasmYAML::SegmentFlags>::bitset(
IO &IO, WasmYAML::SegmentFlags &Value) { … }
void ScalarBitSetTraits<WasmYAML::SymbolFlags>::bitset(
IO &IO, WasmYAML::SymbolFlags &Value) { … }
void ScalarEnumerationTraits<WasmYAML::SymbolKind>::enumeration(
IO &IO, WasmYAML::SymbolKind &Kind) { … }
void ScalarEnumerationTraits<WasmYAML::ValueType>::enumeration(
IO &IO, WasmYAML::ValueType &Type) { … }
void ScalarEnumerationTraits<WasmYAML::ExportKind>::enumeration(
IO &IO, WasmYAML::ExportKind &Kind) { … }
void ScalarEnumerationTraits<WasmYAML::Opcode>::enumeration(
IO &IO, WasmYAML::Opcode &Code) { … }
void ScalarEnumerationTraits<WasmYAML::TableType>::enumeration(
IO &IO, WasmYAML::TableType &Type) { … }
void ScalarEnumerationTraits<WasmYAML::RelocType>::enumeration(
IO &IO, WasmYAML::RelocType &Type) { … }
}
}