blob: 46562271552644ac00981c9bf4f2ae0688554c9f [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),
19 ShowMCEncoding(false), ShowMCInst(false), AsmVerbose(false),
20 DwarfVersion(0), ABIName() {}
Eric Christopher6e30cd92015-01-14 00:50:31 +000021
22StringRef MCTargetOptions::getABIName() const {
23 return ABIName;
24}
Evgeniy Stepanov0a951b72014-04-23 11:16:03 +000025
26} // end namespace llvm