forked from OSchip/llvm-project
26 lines
918 B
C++
26 lines
918 B
C++
//===- 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.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#include "llvm/ADT/StringRef.h"
|
|
#include "llvm/MC/MCTargetOptions.h"
|
|
|
|
using namespace llvm;
|
|
|
|
MCTargetOptions::MCTargetOptions()
|
|
: SanitizeAddress(false), MCRelaxAll(false), MCNoExecStack(false),
|
|
MCFatalWarnings(false), MCNoWarn(false), MCNoDeprecatedWarn(false),
|
|
MCSaveTempLabels(false), MCUseDwarfDirectory(false),
|
|
MCIncrementalLinkerCompatible(false), MCPIECopyRelocations(false),
|
|
ShowMCEncoding(false), ShowMCInst(false), AsmVerbose(false),
|
|
PreserveAsmComments(true) {}
|
|
|
|
StringRef MCTargetOptions::getABIName() const {
|
|
return ABIName;
|
|
}
|