From 073e9fb5e14c71fab2f70d88495f2a9c9cf18a0e Mon Sep 17 00:00:00 2001 From: Simon Atanasyan Date: Tue, 7 Apr 2015 21:12:02 +0000 Subject: [PATCH] [ELF] Remove redundant override methods which just call base class functions llvm-svn: 234356 --- lld/lib/ReaderWriter/ELF/AArch64/AArch64DynamicLibraryWriter.h | 4 ---- lld/lib/ReaderWriter/ELF/AArch64/AArch64ExecutableWriter.h | 4 ---- lld/lib/ReaderWriter/ELF/X86/X86DynamicLibraryWriter.h | 4 ---- lld/lib/ReaderWriter/ELF/X86/X86ExecutableWriter.h | 4 ---- lld/lib/ReaderWriter/ELF/X86_64/X86_64DynamicLibraryWriter.h | 4 ---- lld/lib/ReaderWriter/ELF/X86_64/X86_64ExecutableWriter.h | 4 ---- 6 files changed, 24 deletions(-) diff --git a/lld/lib/ReaderWriter/ELF/AArch64/AArch64DynamicLibraryWriter.h b/lld/lib/ReaderWriter/ELF/AArch64/AArch64DynamicLibraryWriter.h index 230dae9..efd4897 100644 --- a/lld/lib/ReaderWriter/ELF/AArch64/AArch64DynamicLibraryWriter.h +++ b/lld/lib/ReaderWriter/ELF/AArch64/AArch64DynamicLibraryWriter.h @@ -26,10 +26,6 @@ protected: // Add any runtime files and their atoms to the output void createImplicitFiles(std::vector> &) override; - void finalizeDefaultAtomValues() override { - return DynamicLibraryWriter::finalizeDefaultAtomValues(); - } - private: class GOTFile : public SimpleFile { public: diff --git a/lld/lib/ReaderWriter/ELF/AArch64/AArch64ExecutableWriter.h b/lld/lib/ReaderWriter/ELF/AArch64/AArch64ExecutableWriter.h index 1bf9029..b6cc496 100644 --- a/lld/lib/ReaderWriter/ELF/AArch64/AArch64ExecutableWriter.h +++ b/lld/lib/ReaderWriter/ELF/AArch64/AArch64ExecutableWriter.h @@ -25,10 +25,6 @@ protected: // Add any runtime files and their atoms to the output void createImplicitFiles(std::vector> &) override; - void finalizeDefaultAtomValues() override { - return ExecutableWriter::finalizeDefaultAtomValues(); - } - private: class GOTFile : public SimpleFile { public: diff --git a/lld/lib/ReaderWriter/ELF/X86/X86DynamicLibraryWriter.h b/lld/lib/ReaderWriter/ELF/X86/X86DynamicLibraryWriter.h index 39faeb5..6488eb073 100644 --- a/lld/lib/ReaderWriter/ELF/X86/X86DynamicLibraryWriter.h +++ b/lld/lib/ReaderWriter/ELF/X86/X86DynamicLibraryWriter.h @@ -24,10 +24,6 @@ protected: // Add any runtime files and their atoms to the output void createImplicitFiles(std::vector> &) override; - void finalizeDefaultAtomValues() override { - return DynamicLibraryWriter::finalizeDefaultAtomValues(); - } - private: class GOTFile : public SimpleFile { public: diff --git a/lld/lib/ReaderWriter/ELF/X86/X86ExecutableWriter.h b/lld/lib/ReaderWriter/ELF/X86/X86ExecutableWriter.h index 193a886..5ddae51 100644 --- a/lld/lib/ReaderWriter/ELF/X86/X86ExecutableWriter.h +++ b/lld/lib/ReaderWriter/ELF/X86/X86ExecutableWriter.h @@ -24,10 +24,6 @@ protected: // Add any runtime files and their atoms to the output void createImplicitFiles(std::vector> &) override; - void finalizeDefaultAtomValues() override { - return ExecutableWriter::finalizeDefaultAtomValues(); - } - private: X86LinkingContext &_ctx; TargetLayout &_layout; diff --git a/lld/lib/ReaderWriter/ELF/X86_64/X86_64DynamicLibraryWriter.h b/lld/lib/ReaderWriter/ELF/X86_64/X86_64DynamicLibraryWriter.h index c16b1cf..ba18396 100644 --- a/lld/lib/ReaderWriter/ELF/X86_64/X86_64DynamicLibraryWriter.h +++ b/lld/lib/ReaderWriter/ELF/X86_64/X86_64DynamicLibraryWriter.h @@ -26,10 +26,6 @@ protected: // Add any runtime files and their atoms to the output void createImplicitFiles(std::vector> &) override; - void finalizeDefaultAtomValues() override { - return DynamicLibraryWriter::finalizeDefaultAtomValues(); - } - private: class GOTFile : public SimpleFile { public: diff --git a/lld/lib/ReaderWriter/ELF/X86_64/X86_64ExecutableWriter.h b/lld/lib/ReaderWriter/ELF/X86_64/X86_64ExecutableWriter.h index 44f1ba2..8424004 100644 --- a/lld/lib/ReaderWriter/ELF/X86_64/X86_64ExecutableWriter.h +++ b/lld/lib/ReaderWriter/ELF/X86_64/X86_64ExecutableWriter.h @@ -33,10 +33,6 @@ protected: result.push_back(std::move(_gotFile)); } - void finalizeDefaultAtomValues() override { - return ExecutableWriter::finalizeDefaultAtomValues(); - } - private: class GOTFile : public SimpleFile { public: -- 2.7.4