summaryrefslogtreecommitdiffstats
path: root/lld/COFF/LTO.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lld/COFF/LTO.cpp')
-rw-r--r--lld/COFF/LTO.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lld/COFF/LTO.cpp b/lld/COFF/LTO.cpp
index d36893f1749..bfbfc24c767 100644
--- a/lld/COFF/LTO.cpp
+++ b/lld/COFF/LTO.cpp
@@ -43,7 +43,7 @@ using namespace lld::coff;
static std::unique_ptr<lto::LTO> createLTO() {
lto::Config C;
- C.Options = InitTargetOptionsFromCodeGenFlags();
+ C.Options = initTargetOptionsFromCodeGenFlags();
// Always emit a section per function/datum with LTO. LLVM LTO should get most
// of the benefit of linker GC, but there are still opportunities for ICF.
@@ -60,8 +60,8 @@ static std::unique_ptr<lto::LTO> createLTO() {
C.DisableVerify = true;
C.DiagHandler = diagnosticHandler;
C.OptLevel = Config->LTOO;
- C.CPU = GetCPUStr();
- C.MAttrs = GetMAttrs();
+ C.CPU = getCPUStr();
+ C.MAttrs = getMAttrs();
C.CGOptLevel = args::getCGOptLevel(Config->LTOO);
if (Config->SaveTemps)
OpenPOWER on IntegriCloud