2014-04-23 19:16:03 +08:00
|
|
|
//===- lib/MC/MCTargetOptions.cpp - MC Target Options --------------------===//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2015-01-14 08:50:31 +08:00
|
|
|
#include "llvm/ADT/StringRef.h"
|
2014-04-23 19:16:03 +08:00
|
|
|
#include "llvm/MC/MCTargetOptions.h"
|
|
|
|
|
|
|
|
namespace llvm {
|
|
|
|
|
2014-05-15 09:08:00 +08:00
|
|
|
MCTargetOptions::MCTargetOptions()
|
|
|
|
: SanitizeAddress(false), MCRelaxAll(false), MCNoExecStack(false),
|
2015-07-28 06:39:14 +08:00
|
|
|
MCFatalWarnings(false), MCNoWarn(false), MCSaveTempLabels(false),
|
2014-08-27 02:39:50 +08:00
|
|
|
MCUseDwarfDirectory(false), ShowMCEncoding(false), ShowMCInst(false),
|
2015-01-14 08:50:31 +08:00
|
|
|
AsmVerbose(false), DwarfVersion(0), ABIName() {}
|
|
|
|
|
|
|
|
StringRef MCTargetOptions::getABIName() const {
|
|
|
|
return ABIName;
|
|
|
|
}
|
2014-04-23 19:16:03 +08:00
|
|
|
|
|
|
|
} // end namespace llvm
|