[lld] r361617 - [ELF] Fix a doc typo. NFC
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Fri May 24 02:53:25 PDT 2019
Author: maskray
Date: Fri May 24 02:53:25 2019
New Revision: 361617
URL: http://llvm.org/viewvc/llvm-project?rev=361617&view=rev
Log:
[ELF] Fix a doc typo. NFC
Modified:
lld/trunk/ELF/MarkLive.cpp
Modified: lld/trunk/ELF/MarkLive.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/MarkLive.cpp?rev=361617&r1=361616&r2=361617&view=diff
==============================================================================
--- lld/trunk/ELF/MarkLive.cpp (original)
+++ lld/trunk/ELF/MarkLive.cpp Fri May 24 02:53:25 2019
@@ -287,7 +287,7 @@ template <class ELFT> void elf::markLive
// unconditionally make non-SHF_ALLOC sections alive except
// SHF_LINK_ORDER and SHT_REL/SHT_RELA sections.
//
- // Usually, SHF_ALLOC sections are not removed even if they are
+ // Usually, non-SHF_ALLOC sections are not removed even if they are
// unreachable through relocations because reachability is not
// a good signal whether they are garbage or not (e.g. there is
// usually no section referring to a .comment section, but we
More information about the llvm-commits
mailing list