diff --git a/lld/include/lld/Core/DefinedAtom.h b/lld/include/lld/Core/DefinedAtom.h index ac16aa184938..65c0481e6168 100644 --- a/lld/include/lld/Core/DefinedAtom.h +++ b/lld/include/lld/Core/DefinedAtom.h @@ -318,7 +318,7 @@ public: static ContentPermissions permissions(ContentType type); /// Utility function to check if the atom occupies file space - virtual bool occupiesDiskSpace() const { + bool occupiesDiskSpace() const { ContentType atomContentType = contentType(); return !(atomContentType == DefinedAtom::typeZeroFill || atomContentType == DefinedAtom::typeZeroFillFast ||