summaryrefslogtreecommitdiffstats
path: root/lld/wasm/InputFiles.h
diff options
context:
space:
mode:
Diffstat (limited to 'lld/wasm/InputFiles.h')
-rw-r--r--lld/wasm/InputFiles.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/wasm/InputFiles.h b/lld/wasm/InputFiles.h
index 52014258fee..ed2cb75097f 100644
--- a/lld/wasm/InputFiles.h
+++ b/lld/wasm/InputFiles.h
@@ -112,7 +112,7 @@ public:
std::vector<uint32_t> TypeMap;
std::vector<InputSegment *> Segments;
- const std::vector<Symbol *> &getSymbols() { return Symbols; }
+ ArrayRef<Symbol *> getSymbols() { return Symbols; }
private:
Symbol *createDefined(const WasmSymbol &Sym,
OpenPOWER on IntegriCloud