//===- WasmWriter.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 "WasmWriter.h" #include "llvm/BinaryFormat/Wasm.h" #include "llvm/Support/Endian.h" #include "llvm/Support/Errc.h" #include "llvm/Support/LEB128.h" #include "llvm/Support/raw_ostream.h" namespace llvm { namespace objcopy { namespace wasm { usingnamespaceobject; usingnamespacellvm::wasm; Writer::SectionHeader Writer::createSectionHeader(const Section &S, size_t &SectionSize) { … } size_t Writer::finalize() { … } Error Writer::write() { … } } // end namespace wasm } // end namespace objcopy } // end namespace llvm