1 //===- lib/MC/MCTargetOptions.cpp - MC Target Options ---------------------===//
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
7 //===----------------------------------------------------------------------===//
9 #include "llvm/MC/MCTargetOptions.h"
10 #include "llvm/ADT/StringRef.h"
14 MCTargetOptions::MCTargetOptions()
15 : SanitizeAddress(false), MCRelaxAll(false), MCNoExecStack(false),
16 MCFatalWarnings(false), MCNoWarn(false), MCNoDeprecatedWarn(false),
17 MCSaveTempLabels(false), MCUseDwarfDirectory(false),
18 MCIncrementalLinkerCompatible(false), MCPIECopyRelocations(false),
19 ShowMCEncoding(false), ShowMCInst(false), AsmVerbose(false),
20 PreserveAsmComments(true) {}
22 StringRef
MCTargetOptions::getABIName() const {