summaryrefslogtreecommitdiffstats
path: root/lld/COFF/Writer.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2015-09-16 16:33:57 +0000
committerRui Ueyama <ruiu@google.com>2015-09-16 16:33:57 +0000
commitc04d5dbf20597458e551ab51aacac864b93f5175 (patch)
treed4246f16e4089045cf06aaa896a4d2aad9849aa1 /lld/COFF/Writer.cpp
parenta260701bbbf5d6f6f94358b5991dbc34cf6316ef (diff)
downloadbcm5719-llvm-c04d5dbf20597458e551ab51aacac864b93f5175.tar.gz
bcm5719-llvm-c04d5dbf20597458e551ab51aacac864b93f5175.zip
COFF: Rename /opt:lldicf -> /opt:icf.
Now that ICF is complete, we can rename this option so that the driver accepts the MSVC-compatible command line option. llvm-svn: 247816
Diffstat (limited to 'lld/COFF/Writer.cpp')
-rw-r--r--lld/COFF/Writer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/COFF/Writer.cpp b/lld/COFF/Writer.cpp
index e80ad5a6129..8cc48b57adf 100644
--- a/lld/COFF/Writer.cpp
+++ b/lld/COFF/Writer.cpp
@@ -288,7 +288,7 @@ void Writer::markLive() {
// Merge identical COMDAT sections.
void Writer::dedupCOMDATs() {
- if (Config->ICF)
+ if (Config->DoICF)
doICF(Symtab->getChunks());
}
OpenPOWER on IntegriCloud