| //===- 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/MC/MCTargetOptions.h" | |
| #include "llvm/ADT/StringRef.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; | |
| } |