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:
parent
d0de76a3da
commit
f799edef28
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue