[lld] r232250 - [ELF] Remove ambiguity
Shankar Easwaran
shankare at codeaurora.org
Fri Mar 13 22:26:53 PDT 2015
Author: shankare
Date: Sat Mar 14 00:26:53 2015
New Revision: 232250
URL: http://llvm.org/viewvc/llvm-project?rev=232250&view=rev
Log:
[ELF] Remove ambiguity
Fix ambiguous finalize function.
Modified:
lld/trunk/lib/ReaderWriter/ELF/Mips/MipsTargetHandler.h
lld/trunk/lib/ReaderWriter/ELF/SectionChunks.h
Modified: lld/trunk/lib/ReaderWriter/ELF/Mips/MipsTargetHandler.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/ELF/Mips/MipsTargetHandler.h?rev=232250&r1=232249&r2=232250&view=diff
==============================================================================
--- lld/trunk/lib/ReaderWriter/ELF/Mips/MipsTargetHandler.h (original)
+++ lld/trunk/lib/ReaderWriter/ELF/Mips/MipsTargetHandler.h Sat Mar 14 00:26:53 2015
@@ -174,7 +174,7 @@ public:
}
}
- void finalize(bool sort = true) override {
+ void finalize(bool sort) override {
SymbolTable<ELFT>::finalize(sort);
for (auto &ste : this->_symbolTable) {
Modified: lld/trunk/lib/ReaderWriter/ELF/SectionChunks.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/ELF/SectionChunks.h?rev=232250&r1=232249&r2=232250&view=diff
==============================================================================
--- lld/trunk/lib/ReaderWriter/ELF/SectionChunks.h (original)
+++ lld/trunk/lib/ReaderWriter/ELF/SectionChunks.h Sat Mar 14 00:26:53 2015
@@ -686,7 +686,7 @@ public:
virtual void addSharedLibAtom(Elf_Sym &sym, const SharedLibraryAtom *sla);
- virtual void finalize(bool sort = true);
+ virtual void finalize(bool sort);
virtual void write(ELFWriter *writer, TargetLayout<ELFT> &layout,
llvm::FileOutputBuffer &buffer);
More information about the llvm-commits
mailing list