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
Config->DoGC = false;
continue;
}
- if (S == "icf") {
+ if (S == "lldicf") {
Config->ICF = true;
continue;
}
# 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