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),
|
2015-12-22 06:09:27 +08:00
|
|
|
MCUseDwarfDirectory(false), MCIncrementalLinkerCompatible(false),
|
|
|
|
ShowMCEncoding(false), ShowMCInst(false), AsmVerbose(false),
|
2016-07-28 03:19:13 +08:00
|
|
|
PreserveAsmComments(true), DwarfVersion(0), ABIName() {}
|
2015-01-14 08:50:31 +08:00
|
|
|
|
|
|
|
StringRef MCTargetOptions::getABIName() const {
|
|
|
|
return ABIName;
|
|
|
|
}
|
2014-04-23 19:16:03 +08:00
|
|
|
|
|
|
|
} // end namespace llvm
|