[llvm-exegesis][NFC] Pass Instruction instead of bare Opcode
[llvm-core.git] / lib / MC / MCTargetOptions.cpp
blobb85e53db5d616af8bd97193b3fa3fea038e90110
1 //===- lib/MC/MCTargetOptions.cpp - MC Target Options ---------------------===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
10 #include "llvm/MC/MCTargetOptions.h"
11 #include "llvm/ADT/StringRef.h"
13 using namespace llvm;
15 MCTargetOptions::MCTargetOptions()
16 : SanitizeAddress(false), MCRelaxAll(false), MCNoExecStack(false),
17 MCFatalWarnings(false), MCNoWarn(false), MCNoDeprecatedWarn(false),
18 MCSaveTempLabels(false), MCUseDwarfDirectory(false),
19 MCIncrementalLinkerCompatible(false), MCPIECopyRelocations(false),
20 ShowMCEncoding(false), ShowMCInst(false), AsmVerbose(false),
21 PreserveAsmComments(true) {}
23 StringRef MCTargetOptions::getABIName() const {
24 return ABIName;