LLVM  8.0.1
Public Types | Public Member Functions | Public Attributes | List of all members
llvm::MCTargetOptions Class Reference

#include "llvm/MC/MCTargetOptions.h"

Collaboration diagram for llvm::MCTargetOptions:
Collaboration graph
[legend]

Public Types

enum  AsmInstrumentation { AsmInstrumentationNone, AsmInstrumentationAddress }
 

Public Member Functions

 MCTargetOptions ()
 
StringRef getABIName () const
 getABIName - If this returns a non-empty string this represents the textual name of the ABI that we want the backend to use, e.g. More...
 

Public Attributes

bool SanitizeAddress: 1
 Enables AddressSanitizer instrumentation at machine level. More...
 
bool MCRelaxAll: 1
 
bool MCNoExecStack: 1
 
bool MCFatalWarnings: 1
 
bool MCNoWarn: 1
 
bool MCNoDeprecatedWarn: 1
 
bool MCSaveTempLabels: 1
 
bool MCUseDwarfDirectory: 1
 
bool MCIncrementalLinkerCompatible: 1
 
bool MCPIECopyRelocations: 1
 
bool ShowMCEncoding: 1
 
bool ShowMCInst: 1
 
bool AsmVerbose: 1
 
bool PreserveAsmComments: 1
 Preserve Comments in Assembly. More...
 
int DwarfVersion = 0
 
std::string ABIName
 
std::string SplitDwarfFile
 
std::vector< std::string > IASSearchPaths
 Additional paths to search for .include directives when using the integrated assembler. More...
 

Detailed Description

Definition at line 35 of file MCTargetOptions.h.

Member Enumeration Documentation

◆ AsmInstrumentation

Enumerator
AsmInstrumentationNone 
AsmInstrumentationAddress 

Definition at line 37 of file MCTargetOptions.h.

Constructor & Destructor Documentation

◆ MCTargetOptions()

MCTargetOptions::MCTargetOptions ( )

Definition at line 15 of file MCTargetOptions.cpp.

Member Function Documentation

◆ getABIName()

StringRef MCTargetOptions::getABIName ( ) const

getABIName - If this returns a non-empty string this represents the textual name of the ABI that we want the backend to use, e.g.

o32, or aapcs-linux.

Definition at line 23 of file MCTargetOptions.cpp.

References ABIName.

Referenced by computeDataLayout(), llvm::MipsABIInfo::computeTargetABI(), computeTargetABI(), llvm::createAArch64beAsmBackend(), and llvm::createAArch64leAsmBackend().

Member Data Documentation

◆ ABIName

std::string llvm::MCTargetOptions::ABIName

Definition at line 63 of file MCTargetOptions.h.

Referenced by getABIName().

◆ AsmVerbose

bool llvm::MCTargetOptions::AsmVerbose

Definition at line 56 of file MCTargetOptions.h.

Referenced by llvm::LLVMTargetMachine::addAsmPrinter().

◆ DwarfVersion

int llvm::MCTargetOptions::DwarfVersion = 0

Definition at line 61 of file MCTargetOptions.h.

Referenced by llvm::DwarfDebug::DwarfDebug().

◆ IASSearchPaths

std::vector<std::string> llvm::MCTargetOptions::IASSearchPaths

Additional paths to search for .include directives when using the integrated assembler.

Definition at line 68 of file MCTargetOptions.h.

Referenced by srcMgrDiagHandler().

◆ MCFatalWarnings

bool llvm::MCTargetOptions::MCFatalWarnings

Definition at line 47 of file MCTargetOptions.h.

◆ MCIncrementalLinkerCompatible

bool llvm::MCTargetOptions::MCIncrementalLinkerCompatible

◆ MCNoDeprecatedWarn

bool llvm::MCTargetOptions::MCNoDeprecatedWarn

Definition at line 49 of file MCTargetOptions.h.

◆ MCNoExecStack

bool llvm::MCTargetOptions::MCNoExecStack

Definition at line 46 of file MCTargetOptions.h.

◆ MCNoWarn

bool llvm::MCTargetOptions::MCNoWarn

Definition at line 48 of file MCTargetOptions.h.

◆ MCPIECopyRelocations

bool llvm::MCTargetOptions::MCPIECopyRelocations

Definition at line 53 of file MCTargetOptions.h.

Referenced by llvm::TargetMachine::shouldAssumeDSOLocal().

◆ MCRelaxAll

bool llvm::MCTargetOptions::MCRelaxAll

◆ MCSaveTempLabels

bool llvm::MCTargetOptions::MCSaveTempLabels

◆ MCUseDwarfDirectory

bool llvm::MCTargetOptions::MCUseDwarfDirectory

Definition at line 51 of file MCTargetOptions.h.

Referenced by llvm::LLVMTargetMachine::addAsmPrinter().

◆ PreserveAsmComments

bool llvm::MCTargetOptions::PreserveAsmComments

Preserve Comments in Assembly.

Definition at line 59 of file MCTargetOptions.h.

Referenced by llvm::LLVMTargetMachine::initAsmInfo().

◆ SanitizeAddress

bool llvm::MCTargetOptions::SanitizeAddress

Enables AddressSanitizer instrumentation at machine level.

Definition at line 43 of file MCTargetOptions.h.

Referenced by llvm::CreateX86AsmInstrumentation(), and EmitGCCInlineAsmStr().

◆ ShowMCEncoding

bool llvm::MCTargetOptions::ShowMCEncoding

◆ ShowMCInst

bool llvm::MCTargetOptions::ShowMCInst

Definition at line 55 of file MCTargetOptions.h.

Referenced by llvm::LLVMTargetMachine::addAsmPrinter().

◆ SplitDwarfFile

std::string llvm::MCTargetOptions::SplitDwarfFile

The documentation for this class was generated from the following files: