1 //===- lib/MC/MCTargetOptions.cpp - MC Target Options ---------------------===// 2 // 3 // The LLVM Compiler Infrastructure 4 // 5 // This file is distributed under the University of Illinois Open Source 6 // License. See LICENSE.TXT for details. 7 // 8 //===----------------------------------------------------------------------===// 9 10 #include "llvm/MC/MCTargetOptions.h" 11 #include "llvm/ADT/StringRef.h" 12 13 using namespace llvm; 14 15 MCTargetOptions::MCTargetOptions() 16 : SanitizeAddress(false), MCRelaxAll(false), MCNoExecStack(false), 17 MCFatalWarnings(false), MCNoWarn(false), MCNoDeprecatedWarn(false), 18 MCSaveTempLabels(false), MCUseDwarfDirectory(false), 19 MCIncrementalLinkerCompatible(false), MCPIECopyRelocations(false), 20 ShowMCEncoding(false), ShowMCInst(false), AsmVerbose(false), 21 PreserveAsmComments(true) {} 22 23 StringRef MCTargetOptions::getABIName() const { 24 return ABIName; 25 } 26