summaryrefslogtreecommitdiffstats
path: root/lld/wasm/LTO.cpp
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2019-02-01 02:24:50 +0000
committerSam Clegg <sbc@chromium.org>2019-02-01 02:24:50 +0000
commitdfbd19033bd5675b7dcc4c54603bbfe29d551082 (patch)
tree970148dfdd92f0e49be0bf1c50ec152a87cd9ff1 /lld/wasm/LTO.cpp
parentb6c6ab312e9ffa0f1144e3fccc2d25e3afef0e31 (diff)
downloadbcm5719-llvm-dfbd19033bd5675b7dcc4c54603bbfe29d551082.tar.gz
bcm5719-llvm-dfbd19033bd5675b7dcc4c54603bbfe29d551082.zip
Fix names of functions in TargetOptionsCommandFlags.h. NFC.
Differential Revision: https://reviews.llvm.org/D57555 llvm-svn: 352825
Diffstat (limited to 'lld/wasm/LTO.cpp')
-rw-r--r--lld/wasm/LTO.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lld/wasm/LTO.cpp b/lld/wasm/LTO.cpp
index be297683b17..584893d75b8 100644
--- a/lld/wasm/LTO.cpp
+++ b/lld/wasm/LTO.cpp
@@ -41,7 +41,7 @@ using namespace lld::wasm;
static std::unique_ptr<lto::LTO> createLTO() {
lto::Config C;
- C.Options = InitTargetOptionsFromCodeGenFlags();
+ C.Options = initTargetOptionsFromCodeGenFlags();
// Always emit a section per function/data with LTO.
C.Options.FunctionSections = true;
@@ -53,7 +53,7 @@ static std::unique_ptr<lto::LTO> createLTO() {
C.DisableVerify = Config->DisableVerify;
C.DiagHandler = diagnosticHandler;
C.OptLevel = Config->LTOO;
- C.MAttrs = GetMAttrs();
+ C.MAttrs = getMAttrs();
C.CGOptLevel = args::getCGOptLevel(Config->LTOO);
if (Config->Relocatable)
OpenPOWER on IntegriCloud