2017-02-10 09:33:54 +08:00
|
|
|
//===- lib/MC/MCTargetOptions.cpp - MC Target Options ---------------------===//
|
2014-04-23 19:16:03 +08:00
|
|
|
//
|
|
|
|
// 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"
|
|
|
|
|
2017-02-10 09:33:54 +08:00
|
|
|
using namespace llvm;
|
2014-04-23 19:16:03 +08:00
|
|
|
|
2014-05-15 09:08:00 +08:00
|
|
|
MCTargetOptions::MCTargetOptions()
|
|
|
|
: SanitizeAddress(false), MCRelaxAll(false), MCNoExecStack(false),
|
2016-12-06 07:55:13 +08:00
|
|
|
MCFatalWarnings(false), MCNoWarn(false), MCNoDeprecatedWarn(false),
|
2017-02-10 09:33:54 +08:00
|
|
|
MCSaveTempLabels(false), MCUseDwarfDirectory(false),
|
|
|
|
MCIncrementalLinkerCompatible(false), MCPIECopyRelocations(false),
|
|
|
|
ShowMCEncoding(false), ShowMCInst(false), AsmVerbose(false),
|
|
|
|
PreserveAsmComments(true) {}
|
2015-01-14 08:50:31 +08:00
|
|
|
|
|
|
|
StringRef MCTargetOptions::getABIName() const {
|
|
|
|
return ABIName;
|
|
|
|
}
|