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 //===----------------------------------------------------------------------===//
9
10 #include "llvm/ADT/StringRef.h"
11 #include "llvm/MC/MCTargetOptions.h"
12
13 namespace llvm {
14
MCTargetOptions()15 MCTargetOptions::MCTargetOptions()
16 : SanitizeAddress(false), MCRelaxAll(false), MCNoExecStack(false),
17 MCFatalWarnings(false), MCSaveTempLabels(false),
18 MCUseDwarfDirectory(false), ShowMCEncoding(false), ShowMCInst(false),
19 AsmVerbose(false), DwarfVersion(0), ABIName() {}
20
getABIName() const21 StringRef MCTargetOptions::getABIName() const {
22 return ABIName;
23 }
24
25 } // end namespace llvm
26