aboutsummaryrefslogtreecommitdiffstats
path: root/ELF/Driver.cpp
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2017-08-20 21:03:55 +0000
committerDimitry Andric <dim@FreeBSD.org>2017-08-20 21:03:55 +0000
commitf1f34882c73d8ed4f1be85e7237ed195fb27bd10 (patch)
treeca4c5aba38f9d71db0547e2d92d90069c0f0693d /ELF/Driver.cpp
parent9e3ca9b3ba1e0fdf794978cb8c8ae386aad936ad (diff)
downloadsrc-f1f34882c73d8ed4f1be85e7237ed195fb27bd10.tar.gz
src-f1f34882c73d8ed4f1be85e7237ed195fb27bd10.zip
Vendor import of lld release_50 branch r311219:vendor/lld/lld-release_50-r311606vendor/lld/lld-release_50-r311219
Notes
Notes: svn path=/vendor/lld/dist/; revision=322734 svn path=/vendor/lld/lld-release_50-r311606/; revision=322844; tag=vendor/lld/lld-release_50-r311606
Diffstat (limited to 'ELF/Driver.cpp')
-rw-r--r--ELF/Driver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ELF/Driver.cpp b/ELF/Driver.cpp
index 4630e110bcd8..47a50bb725e7 100644
--- a/ELF/Driver.cpp
+++ b/ELF/Driver.cpp
@@ -638,7 +638,7 @@ void LinkerDriver::readConfigs(opt::InputArgList &Args) {
Config->Fini = Args.getLastArgValue(OPT_fini, "_fini");
Config->GcSections = getArg(Args, OPT_gc_sections, OPT_no_gc_sections, false);
Config->GdbIndex = Args.hasArg(OPT_gdb_index);
- Config->ICF = Args.hasArg(OPT_icf);
+ Config->ICF = getArg(Args, OPT_icf_all, OPT_icf_none, false);
Config->Init = Args.getLastArgValue(OPT_init, "_init");
Config->LTOAAPipeline = Args.getLastArgValue(OPT_lto_aa_pipeline);
Config->LTONewPmPasses = Args.getLastArgValue(OPT_lto_newpm_passes);