summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2019-05-24 09:53:25 +0000
committerFangrui Song <maskray@google.com>2019-05-24 09:53:25 +0000
commit7d4a67852da7ecce3ae43b61baa9f0cd068b05c6 (patch)
treedde86d3430616d5fb4647d226e8c8bd649394c62
parentc472f7b010de533cb33a21fad603a0de9cec65c1 (diff)
downloadbcm5719-llvm-7d4a67852da7ecce3ae43b61baa9f0cd068b05c6.tar.gz
bcm5719-llvm-7d4a67852da7ecce3ae43b61baa9f0cd068b05c6.zip
[ELF] Fix a doc typo. NFC
llvm-svn: 361617
-rw-r--r--lld/ELF/MarkLive.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/MarkLive.cpp b/lld/ELF/MarkLive.cpp
index d040a214aa6..5132bb4b72b 100644
--- a/lld/ELF/MarkLive.cpp
+++ b/lld/ELF/MarkLive.cpp
@@ -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
OpenPOWER on IntegriCloud