forked from OSchip/llvm-project
[WebAssembly] Object: Add accessor for wasm symbols
llvm-svn: 327203
This commit is contained in:
parent
f27016f3de
commit
5503254f53
|
@ -135,6 +135,7 @@ public:
|
|||
ArrayRef<wasm::WasmLimits> memories() const { return Memories; }
|
||||
ArrayRef<wasm::WasmGlobal> globals() const { return Globals; }
|
||||
ArrayRef<wasm::WasmExport> exports() const { return Exports; }
|
||||
ArrayRef<WasmSymbol> syms() const { return Symbols; }
|
||||
const wasm::WasmLinkingData& linkingData() const { return LinkingData; }
|
||||
uint32_t getNumberOfSymbols() const { return Symbols.size(); }
|
||||
ArrayRef<wasm::WasmElemSegment> elements() const { return ElemSegments; }
|
||||
|
|
Loading…
Reference in New Issue