summaryrefslogtreecommitdiff
path: root/include/lld/Core/UndefinedAtom.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/lld/Core/UndefinedAtom.h')
-rw-r--r--include/lld/Core/UndefinedAtom.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/include/lld/Core/UndefinedAtom.h b/include/lld/Core/UndefinedAtom.h
index 7a835a4ebaa8..f45d6ecda6b0 100644
--- a/include/lld/Core/UndefinedAtom.h
+++ b/include/lld/Core/UndefinedAtom.h
@@ -57,16 +57,10 @@ public:
static bool classof(const UndefinedAtom *) { return true; }
- /// Returns an undefined atom if this undefined symbol has a synonym. This is
- /// mainly used in COFF. In COFF, an unresolved external symbol can have up to
- /// one optional name (sym2) in addition to its regular name (sym1). If a
- /// definition of sym1 exists, sym1 is resolved normally. Otherwise, all
- /// references to sym1 refer to sym2 instead. In that case sym2 must be
- /// resolved, or link will fail.
- virtual const UndefinedAtom *fallback() const { return nullptr; }
-
protected:
UndefinedAtom() : Atom(definitionUndefined) {}
+
+ ~UndefinedAtom() override = default;
};
} // namespace lld