diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2019-09-19 21:12:57 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-09-19 21:12:57 -0400 |
| commit | e81156b87364a31bee892aee2e6145f65c02fa35 (patch) | |
| tree | ae784e161db393c18e8fbbc99a5f17454e20f4e8 /deps/lld/Common/TargetOptionsCommandFlags.cpp | |
| parent | 925ffbce7f424548be9eb42eb3914d5035066003 (diff) | |
| parent | b76d16c7c7b54b3da35c3c91a8e5bc5dc7d6c57e (diff) | |
| download | zig-e81156b87364a31bee892aee2e6145f65c02fa35.tar.gz zig-e81156b87364a31bee892aee2e6145f65c02fa35.zip | |
Merge pull request #3260 from ziglang/llvm9
LLVM 9
Diffstat (limited to 'deps/lld/Common/TargetOptionsCommandFlags.cpp')
| -rw-r--r-- | deps/lld/Common/TargetOptionsCommandFlags.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/deps/lld/Common/TargetOptionsCommandFlags.cpp b/deps/lld/Common/TargetOptionsCommandFlags.cpp index 7a3fc51070..d4c29d7f88 100644 --- a/deps/lld/Common/TargetOptionsCommandFlags.cpp +++ b/deps/lld/Common/TargetOptionsCommandFlags.cpp @@ -1,9 +1,8 @@ //===-- TargetOptionsCommandFlags.cpp ---------------------------*- C++ -*-===// // -// The LLVM Linker -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // @@ -20,16 +19,17 @@ #include "llvm/Target/TargetOptions.h" // Define an externally visible version of -// InitTargetOptionsFromCodeGenFlags, so that its functionality can be +// initTargetOptionsFromCodeGenFlags, so that its functionality can be // used without having to include llvm/CodeGen/CommandFlags.inc, which // would lead to multiple definitions of the command line flags. -llvm::TargetOptions lld::InitTargetOptionsFromCodeGenFlags() { +llvm::TargetOptions lld::initTargetOptionsFromCodeGenFlags() { return ::InitTargetOptionsFromCodeGenFlags(); } -llvm::Optional<llvm::CodeModel::Model> lld::GetCodeModelFromCMModel() { +llvm::Optional<llvm::CodeModel::Model> lld::getCodeModelFromCMModel() { return getCodeModel(); } -std::string lld::GetCPUStr() { return ::getCPUStr(); } -std::vector<std::string> lld::GetMAttrs() { return ::MAttrs; } +std::string lld::getCPUStr() { return ::getCPUStr(); } + +std::vector<std::string> lld::getMAttrs() { return ::MAttrs; } |
