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:
e2e6cfe
)
Fix comments.
author
Rui Ueyama
<ruiu@google.com>
Tue, 13 Sep 2016 19:56:25 +0000
(19:56 +0000)
committer
Rui Ueyama
<ruiu@google.com>
Tue, 13 Sep 2016 19:56:25 +0000
(19:56 +0000)
llvm-svn: 281380
lld/ELF/Driver.cpp
patch
|
blob
|
history
diff --git
a/lld/ELF/Driver.cpp
b/lld/ELF/Driver.cpp
index
31a0f8e
..
9c81bc2
100644
(file)
--- a/
lld/ELF/Driver.cpp
+++ b/
lld/ELF/Driver.cpp
@@
-650,7
+650,7
@@
template <class ELFT> void LinkerDriver::link(opt::InputArgList &Args) {
for (auto *Arg : Args.filtered(OPT_wrap))
Symtab.wrap(Arg->getValue());
- //
Write the result to the file
.
+ //
Do size optimizations: garbage collection and identical code folding
.
if (Config->GcSections)
markLive<ELFT>();
if (Config->ICF)
@@
-669,5
+669,6
@@
template <class ELFT> void LinkerDriver::link(opt::InputArgList &Args) {
MS->splitIntoPieces();
}
+ // Write the result to the file.
writeResult<ELFT>();
}