|
LLVM 22.0.0git
|
#include "ObjCopy/wasm/WasmObject.h"
Public Member Functions | |
| void | addSectionWithOwnedContents (Section NewSection, std::unique_ptr< MemoryBuffer > &&Content) |
| void | removeSections (function_ref< bool(const Section &)> ToRemove) |
Public Attributes | |
| llvm::wasm::WasmObjectHeader | Header |
| std::vector< Section > | Sections |
| bool | isRelocatableObject = false |
Definition at line 31 of file WasmObject.h.
| void llvm::objcopy::wasm::Object::addSectionWithOwnedContents | ( | Section | NewSection, |
| std::unique_ptr< MemoryBuffer > && | Content ) |
Definition at line 18 of file WasmObject.cpp.
References Sections.
Referenced by llvm::objcopy::wasm::handleArgs().
| void llvm::objcopy::wasm::Object::removeSections | ( | function_ref< bool(const Section &)> | ToRemove | ) |
Definition at line 24 of file WasmObject.cpp.
References llvm::erase_if(), isRelocatableObject, Sections, ToRemove, and llvm::wasm::WASM_SEC_CUSTOM.
Referenced by llvm::objcopy::wasm::removeSections().
| llvm::wasm::WasmObjectHeader llvm::objcopy::wasm::Object::Header |
Definition at line 32 of file WasmObject.h.
| bool llvm::objcopy::wasm::Object::isRelocatableObject = false |
Definition at line 35 of file WasmObject.h.
Referenced by removeSections().
| std::vector<Section> llvm::objcopy::wasm::Object::Sections |
Definition at line 34 of file WasmObject.h.
Referenced by addSectionWithOwnedContents(), llvm::objcopy::wasm::dumpSectionToFile(), and removeSections().