llvm/llvm/tools/llvm-readobj/WasmDumper.cpp

//===-- WasmDumper.cpp - Wasm-specific object file dumper -----------------===//
//
// 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
//
//===----------------------------------------------------------------------===//
//
// This file implements the Wasm-specific dumper for llvm-readobj.
//
//===----------------------------------------------------------------------===//

#include "ObjDumper.h"
#include "llvm-readobj.h"
#include "llvm/Object/Wasm.h"
#include "llvm/Support/ScopedPrinter.h"

usingnamespacellvm;
usingnamespaceobject;

namespace {

const EnumEntry<unsigned> WasmSymbolTypes[] =;

const EnumEntry<uint32_t> WasmSectionTypes[] =;

const EnumEntry<unsigned> WasmSymbolFlags[] =;

class WasmDumper : public ObjDumper {};

void WasmDumper::printFileHeaders() {}

void WasmDumper::printRelocation(const SectionRef &Section,
                                 const RelocationRef &Reloc) {}

void WasmDumper::printRelocations() {}

void WasmDumper::printSymbols(bool /*ExtraSymInfo*/) {}

void WasmDumper::printSectionHeaders() {}

void WasmDumper::printSymbol(const SymbolRef &Sym) {}

} // namespace

namespace llvm {

std::unique_ptr<ObjDumper> createWasmDumper(const object::WasmObjectFile &Obj,
                                            ScopedPrinter &Writer) {}

} // namespace llvm