Index: include/llvm/Object/ELFObjectFile.h =================================================================== --- include/llvm/Object/ELFObjectFile.h +++ include/llvm/Object/ELFObjectFile.h @@ -74,9 +74,9 @@ SubtargetFeatures getFeatures() const override; - SubtargetFeatures getMIPSFeatures() const override; + SubtargetFeatures getMIPSFeatures() const; - SubtargetFeatures getARMFeatures() const override; + SubtargetFeatures getARMFeatures() const; void setARMSubArch(Triple &TheTriple) const override; }; Index: include/llvm/Object/ObjectFile.h =================================================================== --- include/llvm/Object/ObjectFile.h +++ include/llvm/Object/ObjectFile.h @@ -267,8 +267,6 @@ virtual StringRef getFileFormatName() const = 0; virtual /* Triple::ArchType */ unsigned getArch() const = 0; virtual SubtargetFeatures getFeatures() const = 0; - virtual SubtargetFeatures getMIPSFeatures() const { return SubtargetFeatures(); } - virtual SubtargetFeatures getARMFeatures() const { return SubtargetFeatures(); } virtual void setARMSubArch(Triple &TheTriple) const { } /// Returns platform-specific object flags, if any.