blob: e847a17dfec5dbc73c7a07dd745b985eb4519a88 [file] [log] [blame]
Evgeniy Stepanov0a951b72014-04-23 11:16:03 +00001//===- 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
Eric Christopher6e30cd92015-01-14 00:50:31 +000010#include "llvm/ADT/StringRef.h"
Evgeniy Stepanov0a951b72014-04-23 11:16:03 +000011#include "llvm/MC/MCTargetOptions.h"
12
13namespace llvm {
14
Eric Christopher737e0892014-05-15 01:08:00 +000015MCTargetOptions::MCTargetOptions()
16 : SanitizeAddress(false), MCRelaxAll(false), MCNoExecStack(false),
Colin LeMahieufe36f832015-07-27 22:39:14 +000017 MCFatalWarnings(false), MCNoWarn(false), MCSaveTempLabels(false),
David Majnemer03e2cc32015-12-21 22:09:27 +000018 MCUseDwarfDirectory(false), MCIncrementalLinkerCompatible(false),
Sriraman Tallamf29fa582016-10-13 20:54:39 +000019 MCPIECopyRelocations(false), ShowMCEncoding(false),
20 ShowMCInst(false), AsmVerbose(false),
Nirav Davee67c1462016-07-27 19:19:13 +000021 PreserveAsmComments(true), DwarfVersion(0), ABIName() {}
Eric Christopher6e30cd92015-01-14 00:50:31 +000022
23StringRef MCTargetOptions::getABIName() const {
24 return ABIName;
25}
Evgeniy Stepanov0a951b72014-04-23 11:16:03 +000026
27} // end namespace llvm