LLVM  5.0.0
Namespaces | Macros | Functions
WasmYAML.cpp File Reference
#include "llvm/ObjectYAML/WasmYAML.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/YAMLTraits.h"
#include "llvm/BinaryFormat/WasmRelocs/WebAssembly.def"
Include dependency graph for WasmYAML.cpp:

Go to the source code of this file.

Namespaces

 llvm
 Compute iterated dominance frontiers using a linear time algorithm.
 
 llvm::WasmYAML
 
 llvm::yaml
 

Macros

#define ECase(X)   IO.enumCase(Type, #X, wasm::WASM_SEC_##X);
 
#define ECase(X)   IO.enumCase(Type, #X, wasm::WASM_TYPE_##X);
 
#define ECase(X)   IO.enumCase(Kind, #X, wasm::WASM_EXTERNAL_##X);
 
#define ECase(X)   IO.enumCase(Code, #X, wasm::WASM_OPCODE_##X);
 
#define ECase(X)   IO.enumCase(Type, #X, wasm::WASM_TYPE_##X);
 
#define WASM_RELOC(name, value)   IO.enumCase(Type, #name, wasm::name);
 

Functions

static void llvm::yaml::commonSectionMapping (IO &IO, WasmYAML::Section &Section)
 
static void llvm::yaml::sectionMapping (IO &IO, WasmYAML::NameSection &Section)
 
static void llvm::yaml::sectionMapping (IO &IO, WasmYAML::LinkingSection &Section)
 
static void llvm::yaml::sectionMapping (IO &IO, WasmYAML::CustomSection &Section)
 
static void llvm::yaml::sectionMapping (IO &IO, WasmYAML::TypeSection &Section)
 
static void llvm::yaml::sectionMapping (IO &IO, WasmYAML::ImportSection &Section)
 
static void llvm::yaml::sectionMapping (IO &IO, WasmYAML::FunctionSection &Section)
 
static void llvm::yaml::sectionMapping (IO &IO, WasmYAML::TableSection &Section)
 
static void llvm::yaml::sectionMapping (IO &IO, WasmYAML::MemorySection &Section)
 
static void llvm::yaml::sectionMapping (IO &IO, WasmYAML::GlobalSection &Section)
 
static void llvm::yaml::sectionMapping (IO &IO, WasmYAML::ExportSection &Section)
 
static void llvm::yaml::sectionMapping (IO &IO, WasmYAML::StartSection &Section)
 
static void llvm::yaml::sectionMapping (IO &IO, WasmYAML::ElemSection &Section)
 
static void llvm::yaml::sectionMapping (IO &IO, WasmYAML::CodeSection &Section)
 
static void llvm::yaml::sectionMapping (IO &IO, WasmYAML::DataSection &Section)
 

Macro Definition Documentation

#define ECase (   X)    IO.enumCase(Type, #X, wasm::WASM_SEC_##X);
#define ECase (   X)    IO.enumCase(Type, #X, wasm::WASM_TYPE_##X);
#define ECase (   X)    IO.enumCase(Kind, #X, wasm::WASM_EXTERNAL_##X);
#define ECase (   X)    IO.enumCase(Code, #X, wasm::WASM_OPCODE_##X);
#define ECase (   X)    IO.enumCase(Type, #X, wasm::WASM_TYPE_##X);
#define WASM_RELOC (   name,
  value 
)    IO.enumCase(Type, #name, wasm::name);