llvm/llvm/tools/obj2yaml/wasm2yaml.cpp

//===------ utils/wasm2yaml.cpp - obj2yaml conversion tool ------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#include "obj2yaml.h"
#include "llvm/Object/COFF.h"
#include "llvm/ObjectYAML/WasmYAML.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/LEB128.h"
#include "llvm/Support/YAMLTraits.h"

usingnamespacellvm;
WasmSection;

namespace {

class WasmDumper {};

} // namespace

static WasmYAML::Limits makeLimits(const wasm::WasmLimits &Limits) {}

static WasmYAML::Table makeTable(uint32_t Index,
                                 const wasm::WasmTableType &Type) {}

std::unique_ptr<WasmYAML::CustomSection>
WasmDumper::dumpCustomSection(const WasmSection &WasmSec) {}

ErrorOr<WasmYAML::Object *> WasmDumper::dump() {}

std::error_code wasm2yaml(raw_ostream &Out, const object::WasmObjectFile &Obj) {}