2017-02-10 02:33:54 +01:00
|
|
|
//===- lib/MC/MCTargetOptions.cpp - MC Target Options ---------------------===//
|
2014-04-23 13:16:03 +02:00
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#include "llvm/MC/MCTargetOptions.h"
|
2017-06-06 13:49:48 +02:00
|
|
|
#include "llvm/ADT/StringRef.h"
|
2014-04-23 13:16:03 +02:00
|
|
|
|
2017-02-10 02:33:54 +01:00
|
|
|
using namespace llvm;
|
2014-04-23 13:16:03 +02:00
|
|
|
|
2014-05-15 03:08:00 +02:00
|
|
|
MCTargetOptions::MCTargetOptions()
|
|
|
|
: SanitizeAddress(false), MCRelaxAll(false), MCNoExecStack(false),
|
2016-12-06 00:55:13 +01:00
|
|
|
MCFatalWarnings(false), MCNoWarn(false), MCNoDeprecatedWarn(false),
|
2017-02-10 02:33:54 +01:00
|
|
|
MCSaveTempLabels(false), MCUseDwarfDirectory(false),
|
|
|
|
MCIncrementalLinkerCompatible(false), MCPIECopyRelocations(false),
|
|
|
|
ShowMCEncoding(false), ShowMCInst(false), AsmVerbose(false),
|
|
|
|
PreserveAsmComments(true) {}
|
2015-01-14 01:50:31 +01:00
|
|
|
|
|
|
|
StringRef MCTargetOptions::getABIName() const {
|
|
|
|
return ABIName;
|
|
|
|
}
|