From 925529b821142cdbb448d7432bd2a1724b068c02 Mon Sep 17 00:00:00 2001 From: George Rimar Date: Thu, 22 Feb 2018 17:52:43 +0000 Subject: [PATCH] [ELF] - Rewrote outdated comment. NFC. llvm-svn: 325809 --- lld/ELF/Writer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lld/ELF/Writer.cpp b/lld/ELF/Writer.cpp index c208a5a..66680aa 100644 --- a/lld/ELF/Writer.cpp +++ b/lld/ELF/Writer.cpp @@ -1390,8 +1390,8 @@ static void removeUnusedSyntheticSections() { llvm::erase_if(ISD->Sections, [=](InputSection *IS) { return IS == SS; }); - // If there are no other alive sections or commands left in the output - // section description, we remove it from the output. + // If there are no other alive input sections left, we remove output + // section from the output. if (getInputSections(OS).empty()) OS->Live = false; } -- 2.7.4