]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm-project/llvm/lib/MC/MCTargetOptions.cpp
Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp
[FreeBSD/FreeBSD.git] / contrib / llvm-project / llvm / lib / MC / MCTargetOptions.cpp
1 //===- lib/MC/MCTargetOptions.cpp - MC Target Options ---------------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8
9 #include "llvm/MC/MCTargetOptions.h"
10 #include "llvm/ADT/StringRef.h"
11
12 using namespace llvm;
13
14 MCTargetOptions::MCTargetOptions()
15     : MCRelaxAll(false), MCNoExecStack(false), MCFatalWarnings(false),
16       MCNoWarn(false), MCNoDeprecatedWarn(false), MCSaveTempLabels(false),
17       MCUseDwarfDirectory(false), MCIncrementalLinkerCompatible(false),
18       MCPIECopyRelocations(false), ShowMCEncoding(false), ShowMCInst(false),
19       AsmVerbose(false), PreserveAsmComments(true) {}
20
21 StringRef MCTargetOptions::getABIName() const {
22   return ABIName;
23 }