diff options
Diffstat (limited to 'contrib/llvm/lib/MC/MCTargetOptions.cpp')
| -rw-r--r-- | contrib/llvm/lib/MC/MCTargetOptions.cpp | 25 | 
1 files changed, 25 insertions, 0 deletions
| diff --git a/contrib/llvm/lib/MC/MCTargetOptions.cpp b/contrib/llvm/lib/MC/MCTargetOptions.cpp new file mode 100644 index 000000000000..b85e53db5d61 --- /dev/null +++ b/contrib/llvm/lib/MC/MCTargetOptions.cpp @@ -0,0 +1,25 @@ +//===- 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; +} | 
