blob: 64796af10c8246f20927d476472b2e1a0bd4fdcb [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),
Joerg Sonnenberger29815912014-08-26 18:39:50 +000018 MCUseDwarfDirectory(false), ShowMCEncoding(false), ShowMCInst(false),
Eric Christopher6e30cd92015-01-14 00:50:31 +000019 AsmVerbose(false), DwarfVersion(0), ABIName() {}
20
21StringRef MCTargetOptions::getABIName() const {
22 return ABIName;
23}
Evgeniy Stepanov0a951b72014-04-23 11:16:03 +000024
25} // end namespace llvm