LLVM 20.0.0git
|
#include "ObjCopy/wasm/WasmWriter.h"
Public Member Functions | |
Writer (Object &Obj, raw_ostream &Out) | |
Error | write () |
Definition at line 20 of file WasmWriter.h.
|
inline |
Definition at line 22 of file WasmWriter.h.
Error llvm::objcopy::wasm::Writer::write | ( | ) |
Definition at line 58 of file WasmWriter.cpp.
References llvm::StringRef::data(), llvm::objcopy::wasm::Object::Header, I, llvm::wasm::WasmObjectHeader::Magic, llvm::raw_ostream::reserveExtraSpace(), llvm::objcopy::wasm::Object::Sections, llvm::StringRef::size(), llvm::size(), llvm::Error::success(), llvm::wasm::WasmObjectHeader::Version, llvm::Version, llvm::raw_ostream::write(), and llvm::support::endian::write32le().
Referenced by llvm::objcopy::wasm::executeObjcopyOnBinary().