blob: 96bb094134fe80a5c775b55c65b760db389bb451 [file] [log] [blame]
Eugene Zelenko4b6ff6b2017-02-10 01:33:54 +00001//===- lib/MC/MCTargetOptions.cpp - MC Target Options ---------------------===//
Evgeniy Stepanov0a951b72014-04-23 11:16:03 +00002//
Chandler Carruth2946cd72019-01-19 08:50:56 +00003// 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
Evgeniy Stepanov0a951b72014-04-23 11:16:03 +00006//
7//===----------------------------------------------------------------------===//
8
9#include "llvm/MC/MCTargetOptions.h"
Chandler Carruth6bda14b2017-06-06 11:49:48 +000010#include "llvm/ADT/StringRef.h"
Evgeniy Stepanov0a951b72014-04-23 11:16:03 +000011
Eugene Zelenko4b6ff6b2017-02-10 01:33:54 +000012using namespace llvm;
Evgeniy Stepanov0a951b72014-04-23 11:16:03 +000013
Eric Christopher737e0892014-05-15 01:08:00 +000014MCTargetOptions::MCTargetOptions()
Evgeniy Stepanovaedec3f2019-03-11 21:50:10 +000015 : 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) {}
Eric Christopher6e30cd92015-01-14 00:50:31 +000020
21StringRef MCTargetOptions::getABIName() const {
22 return ABIName;
23}