LLVM 22.0.0git
WasmObjcopy.cpp File Reference

Go to the source code of this file.

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
namespace  llvm::objcopy
namespace  llvm::objcopy::wasm

Typedefs

using llvm::objcopy::wasm::SectionPred = std::function<bool(const Section &Sec)>

Functions

static bool llvm::objcopy::wasm::isDebugSection (const Section &Sec)
static bool llvm::objcopy::wasm::isLinkerSection (const Section &Sec)
static bool llvm::objcopy::wasm::isNameSection (const Section &Sec)
static bool llvm::objcopy::wasm::isCommentSection (const Section &Sec)
static Error llvm::objcopy::wasm::dumpSectionToFile (StringRef SecName, StringRef Filename, StringRef InputFilename, Object &Obj)
static void llvm::objcopy::wasm::removeSections (const CommonConfig &Config, Object &Obj)
static Error llvm::objcopy::wasm::handleArgs (const CommonConfig &Config, Object &Obj)
LLVM_ABI Error llvm::objcopy::wasm::executeObjcopyOnBinary (const CommonConfig &Config, const WasmConfig &, object::WasmObjectFile &In, raw_ostream &Out)
 Apply the transformations described by Config and WasmConfig to In and writes the result into Out.