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

#include <MCTargetOptions.h>

Collaboration diagram for llvm::MCTargetOptions:
[legend]

Public Types

enum  AsmInstrumentation { AsmInstrumentationNone, AsmInstrumentationAddress }
 

Public Member Functions

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...
 
 MCTargetOptions ()
 

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
 
std::string ABIName
 
std::vector< std::string > IASSearchPaths
 Additional paths to search for .include directives when using the integrated assembler. More...
 

Detailed Description

Definition at line 28 of file MCTargetOptions.h.

Member Enumeration Documentation

Enumerator
AsmInstrumentationNone 
AsmInstrumentationAddress 

Definition at line 30 of file MCTargetOptions.h.

Constructor & Destructor Documentation

llvm::MCTargetOptions::MCTargetOptions ( )

Definition at line 15 of file MCTargetOptions.cpp.

Member Function Documentation

StringRef llvm::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 24 of file MCTargetOptions.cpp.

References ABIName.

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

Member Data Documentation

std::string llvm::MCTargetOptions::ABIName

Definition at line 60 of file MCTargetOptions.h.

Referenced by getABIName(), and InitMCTargetOptionsFromFlags().

bool llvm::MCTargetOptions::AsmVerbose

Definition at line 49 of file MCTargetOptions.h.

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

int llvm::MCTargetOptions::DwarfVersion

Definition at line 54 of file MCTargetOptions.h.

Referenced by llvm::DwarfDebug::DwarfDebug(), and InitMCTargetOptionsFromFlags().

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

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

Definition at line 64 of file MCTargetOptions.h.

bool llvm::MCTargetOptions::MCFatalWarnings

Definition at line 40 of file MCTargetOptions.h.

Referenced by InitMCTargetOptionsFromFlags().

bool llvm::MCTargetOptions::MCIncrementalLinkerCompatible
bool llvm::MCTargetOptions::MCNoDeprecatedWarn

Definition at line 42 of file MCTargetOptions.h.

Referenced by InitMCTargetOptionsFromFlags().

bool llvm::MCTargetOptions::MCNoExecStack

Definition at line 39 of file MCTargetOptions.h.

bool llvm::MCTargetOptions::MCNoWarn

Definition at line 41 of file MCTargetOptions.h.

Referenced by InitMCTargetOptionsFromFlags().

bool llvm::MCTargetOptions::MCPIECopyRelocations
bool llvm::MCTargetOptions::MCRelaxAll
bool llvm::MCTargetOptions::MCSaveTempLabels
bool llvm::MCTargetOptions::MCUseDwarfDirectory

Definition at line 44 of file MCTargetOptions.h.

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

bool llvm::MCTargetOptions::PreserveAsmComments

Preserve Comments in Assembly.

Definition at line 52 of file MCTargetOptions.h.

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

bool llvm::MCTargetOptions::SanitizeAddress

Enables AddressSanitizer instrumentation at machine level.

Definition at line 36 of file MCTargetOptions.h.

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

bool llvm::MCTargetOptions::ShowMCEncoding
bool llvm::MCTargetOptions::ShowMCInst

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