From 3b20ae6c54d8303134db918ae4cee54075f29475 Mon Sep 17 00:00:00 2001 From: George Rimar Date: Mon, 3 Jun 2019 09:23:01 +0000 Subject: [PATCH] [LLD][ELF] - Remove dead code. NFC. I believe this line was dead after r362356. llvm-svn: 362367 --- lld/ELF/LinkerScript.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/lld/ELF/LinkerScript.cpp b/lld/ELF/LinkerScript.cpp index 3f68e6e..71c8ff2 100644 --- a/lld/ELF/LinkerScript.cpp +++ b/lld/ELF/LinkerScript.cpp @@ -481,7 +481,6 @@ void LinkerScript::processSectionCommands() { if (Sec->Name == "/DISCARD/") { discard(V); Sec->SectionCommands.clear(); - Sec->SectionIndex = 0; // Not an orphan. continue; } -- 2.7.4