[lld] r316078 - [ELF] - Removed outdated comment. NFC.
George Rimar via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 18 06:22:21 PDT 2017
Author: grimar
Date: Wed Oct 18 06:22:21 2017
New Revision: 316078
URL: http://llvm.org/viewvc/llvm-project?rev=316078&view=rev
Log:
[ELF] - Removed outdated comment. NFC.
Modified:
lld/trunk/ELF/SyntheticSections.cpp
Modified: lld/trunk/ELF/SyntheticSections.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/SyntheticSections.cpp?rev=316078&r1=316077&r2=316078&view=diff
==============================================================================
--- lld/trunk/ELF/SyntheticSections.cpp (original)
+++ lld/trunk/ELF/SyntheticSections.cpp Wed Oct 18 06:22:21 2017
@@ -1644,8 +1644,6 @@ void HashTableSection::finalizeContents(
NumEntries += InX::DynSymTab->getNumSymbols(); // The chain entries.
// Create as many buckets as there are symbols.
- // FIXME: This is simplistic. We can try to optimize it, but implementing
- // support for SHT_GNU_HASH is probably even more profitable.
NumEntries += InX::DynSymTab->getNumSymbols();
this->Size = NumEntries * 4;
}
More information about the llvm-commits
mailing list