summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorge Rimar <grimar@accesssoftek.com>2019-06-03 09:23:01 +0000
committerGeorge Rimar <grimar@accesssoftek.com>2019-06-03 09:23:01 +0000
commit3b20ae6c54d8303134db918ae4cee54075f29475 (patch)
tree329111c882cbfe54c937dae5c609599b7e141cb5
parentdf92f841105e23be1f2c3fe6bcc543d53cbf7576 (diff)
downloadbcm5719-llvm-3b20ae6c54d8303134db918ae4cee54075f29475.tar.gz
bcm5719-llvm-3b20ae6c54d8303134db918ae4cee54075f29475.zip
[LLD][ELF] - Remove dead code. NFC.
I believe this line was dead after r362356. llvm-svn: 362367
-rw-r--r--lld/ELF/LinkerScript.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lld/ELF/LinkerScript.cpp b/lld/ELF/LinkerScript.cpp
index 3f68e6eff87..71c8ff2497c 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;
}
OpenPOWER on IntegriCloud