diff options
Diffstat (limited to 'lld/wasm/OutputSections.h')
-rw-r--r-- | lld/wasm/OutputSections.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/wasm/OutputSections.h b/lld/wasm/OutputSections.h index 6b1c2a2eba2..1fcb5723df9 100644 --- a/lld/wasm/OutputSections.h +++ b/lld/wasm/OutputSections.h @@ -82,7 +82,7 @@ public: void writeTo(uint8_t *buf) override; uint32_t getNumRelocations() const override; void writeRelocations(raw_ostream &os) const override; - bool isNeeded() const override { return segments.size() > 0; } + bool isNeeded() const override; void finalizeContents() override; protected: |