diff options
Diffstat (limited to 'llvm/lib/MC/MCTargetOptions.cpp')
| -rw-r--r-- | llvm/lib/MC/MCTargetOptions.cpp | 23 | 
1 files changed, 23 insertions, 0 deletions
diff --git a/llvm/lib/MC/MCTargetOptions.cpp b/llvm/lib/MC/MCTargetOptions.cpp new file mode 100644 index 000000000000..96bb094134fe --- /dev/null +++ b/llvm/lib/MC/MCTargetOptions.cpp @@ -0,0 +1,23 @@ +//===- lib/MC/MCTargetOptions.cpp - MC Target Options ---------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +#include "llvm/MC/MCTargetOptions.h" +#include "llvm/ADT/StringRef.h" + +using namespace llvm; + +MCTargetOptions::MCTargetOptions() +    : 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; +}  | 
