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/ADT/StringRef.h" 11 #include "llvm/MC/MCTargetOptions.h" 12 13 namespace llvm { 14 15 MCTargetOptions::MCTargetOptions() 16 : SanitizeAddress(false), MCRelaxAll(false), MCNoExecStack(false), 17 MCFatalWarnings(false), MCNoWarn(false), MCSaveTempLabels(false), 18 MCUseDwarfDirectory(false), MCIncrementalLinkerCompatible(false), 19 ShowMCEncoding(false), ShowMCInst(false), AsmVerbose(false), 20 DwarfVersion(0), ABIName() {} 21 22 StringRef MCTargetOptions::getABIName() const { 23 return ABIName; 24 } 25 26 } // end namespace llvm 27