LLVM 20.0.0git
MCTargetOptions.cpp
Go to the documentation of this file.
1//===- lib/MC/MCTargetOptions.cpp - MC Target Options ---------------------===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
10#include "llvm/ADT/StringRef.h"
11
12using namespace llvm;
13
15 : MCRelaxAll(false), MCNoExecStack(false), MCFatalWarnings(false),
16 MCNoWarn(false), MCNoDeprecatedWarn(false), MCNoTypeCheck(false),
17 MCSaveTempLabels(false), MCIncrementalLinkerCompatible(false),
18 FDPIC(false), ShowMCEncoding(false), ShowMCInst(false), AsmVerbose(false),
19 PreserveAsmComments(true), Dwarf64(false),
20 EmitDwarfUnwind(EmitDwarfUnwindType::Default),
21 MCUseDwarfDirectory(DefaultDwarfDirectory),
22 EmitCompactUnwindNonCanonical(false), PPCUseFullRegisterNames(false) {}
23
25 return ABIName;
26}
27
29 return AssemblyLanguage;
30}
basic Basic Alias true
@ Default
Definition: DwarfDebug.cpp:87
StringRef getAssemblyLanguage() const
getAssemblyLanguage - If this returns a non-empty string this represents the textual name of the asse...
StringRef getABIName() const
getABIName - If this returns a non-empty string this represents the textual name of the ABI that we w...
std::string AssemblyLanguage
StringRef - Represent a constant reference to a string, i.e.
Definition: StringRef.h:50
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18
EmitDwarfUnwindType