COFF: Rename /opt:icf -> /opt:lldicf.

ICF implemented in LLD is so experimental that we don't want to
enable that even if /opt:icf option is passed. I'll rename it back
once the feature is complete.

llvm-svn: 240721
This commit is contained in:
Rui Ueyama 2015-06-25 23:26:58 +00:00
parent d0de76a3da
commit f799edef28
2 changed files with 2 additions and 2 deletions

View File

@ -360,7 +360,7 @@ bool LinkerDriver::link(llvm::ArrayRef<const char *> ArgsArr) {
Config->DoGC = false;
continue;
}
if (S == "icf") {
if (S == "lldicf") {
Config->ICF = true;
continue;
}

View File

@ -3,7 +3,7 @@
# RUN: yaml2obj < %p/Inputs/icf3.yaml > %t3.obj
#
# RUN: lld -flavor link2 /out:%t.exe %t1.obj %t2.obj %t3.obj \
# RUN: /opt:icf /include:icf2 /include:icf3 /verbose >& %t.log
# RUN: /opt:lldicf /include:icf2 /include:icf3 /verbose >& %t.log
# RUN: FileCheck %s < %t.log
CHECK-NOT: Replaced mainCRTStartup