projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df92f84
)
[LLD][ELF] - Remove dead code. NFC.
author
George Rimar
<grimar@accesssoftek.com>
Mon, 3 Jun 2019 09:23:01 +0000
(09:23 +0000)
committer
George Rimar
<grimar@accesssoftek.com>
Mon, 3 Jun 2019 09:23:01 +0000
(09:23 +0000)
I believe this line was dead after r362356.
llvm-svn: 362367
lld/ELF/LinkerScript.cpp
patch
|
blob
|
history
diff --git
a/lld/ELF/LinkerScript.cpp
b/lld/ELF/LinkerScript.cpp
index
3f68e6e
..
71c8ff2
100644
(file)
--- 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;
}