LLVM 20.0.0git
|
#include "ObjCopy/wasm/WasmReader.h"
Public Member Functions | |
Reader (const object::WasmObjectFile &O) | |
Expected< std::unique_ptr< Object > > | create () const |
Definition at line 18 of file WasmReader.h.
|
inlineexplicit |
Definition at line 20 of file WasmReader.h.
Definition at line 18 of file WasmReader.cpp.
References llvm::object::WasmSection::Content, llvm::object::WasmObjectFile::getHeader(), llvm::object::WasmObjectFile::getNumSections(), llvm::object::WasmObjectFile::getWasmSection(), llvm::object::WasmSection::HeaderSecSizeEncodingLen, llvm::object::WasmObjectFile::isRelocatableObject(), llvm::object::WasmSection::Name, llvm::objcopy::wasm::Section::Name, llvm::object::ObjectFile::sections(), llvm::objcopy::wasm::Section::SectionType, llvm::wasm::sectionTypeToString(), llvm::object::WasmSection::Type, llvm::wasm::WASM_SEC_CUSTOM, and llvm::wasm::WASM_SEC_LAST_KNOWN.
Referenced by llvm::objcopy::wasm::executeObjcopyOnBinary().