llvm/llvm/lib/ObjCopy/wasm/WasmObjcopy.cpp

//===- WasmObjcopy.cpp ----------------------------------------------------===//
//
// 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 "llvm/ObjCopy/wasm/WasmObjcopy.h"
#include "WasmObject.h"
#include "WasmReader.h"
#include "WasmWriter.h"
#include "llvm/ObjCopy/CommonConfig.h"
#include "llvm/Support/Errc.h"
#include "llvm/Support/FileOutputBuffer.h"

namespace llvm {
namespace objcopy {
namespace wasm {

usingnamespaceobject;
SectionPred;

static bool isDebugSection(const Section &Sec) {}

static bool isLinkerSection(const Section &Sec) {}

static bool isNameSection(const Section &Sec) {}

// Sections which are known to be "comments" or informational and do not affect
// program semantics.
static bool isCommentSection(const Section &Sec) {}

static Error dumpSectionToFile(StringRef SecName, StringRef Filename,
                               Object &Obj) {}

static void removeSections(const CommonConfig &Config, Object &Obj) {}

static Error handleArgs(const CommonConfig &Config, Object &Obj) {}

Error executeObjcopyOnBinary(const CommonConfig &Config, const WasmConfig &,
                             object::WasmObjectFile &In, raw_ostream &Out) {}

} // end namespace wasm
} // end namespace objcopy
} // end namespace llvm