LLVM API Documentation
#include <X86TargetObjectFile.h>
Public Member Functions | |
const MCExpr * | getTTypeGlobalReference (const GlobalValue *GV, unsigned Encoding, Mangler &Mang, const TargetMachine &TM, MachineModuleInfo *MMI, MCStreamer &Streamer) const override |
The mach-o version of this method defaults to returning a stub reference. | |
MCSymbol * | getCFIPersonalitySymbol (const GlobalValue *GV, Mangler &Mang, const TargetMachine &TM, MachineModuleInfo *MMI) const override |
X86_64MachoTargetObjectFile - This TLOF implementation is used for Darwin x86-64.
Definition at line 20 of file X86TargetObjectFile.h.
MCSymbol * X86_64MachoTargetObjectFile::getCFIPersonalitySymbol | ( | const GlobalValue * | GV, |
Mangler & | Mang, | ||
const TargetMachine & | TM, | ||
MachineModuleInfo * | MMI | ||
) | const [override, virtual] |
Reimplemented from llvm::TargetLoweringObjectFileMachO.
Definition at line 43 of file X86TargetObjectFile.cpp.
References llvm::TargetMachine::getSymbol().
const MCExpr * X86_64MachoTargetObjectFile::getTTypeGlobalReference | ( | const GlobalValue * | GV, |
unsigned | Encoding, | ||
Mangler & | Mang, | ||
const TargetMachine & | TM, | ||
MachineModuleInfo * | MMI, | ||
MCStreamer & | Streamer | ||
) | const [override, virtual] |
The mach-o version of this method defaults to returning a stub reference.
Reimplemented from llvm::TargetLoweringObjectFileMachO.
Definition at line 24 of file X86TargetObjectFile.cpp.
References llvm::MCConstantExpr::Create(), llvm::MCSymbolRefExpr::Create(), CreateAdd(), llvm::dwarf::DW_EH_PE_indirect, llvm::dwarf::DW_EH_PE_pcrel, llvm::TargetMachine::getSymbol(), llvm::TargetLoweringObjectFileMachO::getTTypeGlobalReference(), and llvm::MCSymbolRefExpr::VK_GOTPCREL.