summaryrefslogtreecommitdiffstats
path: root/lld/wasm/Symbols.h
diff options
context:
space:
mode:
Diffstat (limited to 'lld/wasm/Symbols.h')
-rw-r--r--lld/wasm/Symbols.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lld/wasm/Symbols.h b/lld/wasm/Symbols.h
index 98ff155fc5a..5c0f4b2ac46 100644
--- a/lld/wasm/Symbols.h
+++ b/lld/wasm/Symbols.h
@@ -69,6 +69,9 @@ public:
bool isWeak() const;
bool isHidden() const;
+ // Returns true if this symbol exists in a discarded (due to COMDAT) section
+ bool isDiscarded() const;
+
// True if this is an undefined weak symbol. This only works once
// all input files have been added.
bool isUndefWeak() const {
OpenPOWER on IntegriCloud