[ELF] - Rewrote outdated comment. NFC.

llvm-svn: 325809
This commit is contained in:
George Rimar 2018-02-22 17:52:43 +00:00
parent 8f2996fbdf
commit 925529b821
1 changed files with 2 additions and 2 deletions

View File

@ -1390,8 +1390,8 @@ static void removeUnusedSyntheticSections() {
llvm::erase_if(ISD->Sections, llvm::erase_if(ISD->Sections,
[=](InputSection *IS) { return IS == SS; }); [=](InputSection *IS) { return IS == SS; });
// If there are no other alive sections or commands left in the output // If there are no other alive input sections left, we remove output
// section description, we remove it from the output. // section from the output.
if (getInputSections(OS).empty()) if (getInputSections(OS).empty())
OS->Live = false; OS->Live = false;
} }