LLVM API Documentation
#include <PPCTargetAsmInfo.h>
Public Member Functions | |
| PPCDarwinTargetAsmInfo (const PPCTargetMachine &TM) | |
| virtual unsigned | PreferredEHDataFormat (DwarfEncoding::Target Reason, bool Global) const |
| virtual const char * | getEHGlobalPrefix () const |
Definition at line 47 of file PPCTargetAsmInfo.h.
| PPCDarwinTargetAsmInfo::PPCDarwinTargetAsmInfo | ( | const PPCTargetMachine & | TM | ) | [explicit] |
Definition at line 22 of file PPCTargetAsmInfo.cpp.
References llvm::TargetMachine::getRelocationModel(), GlobalPrefix, llvm::Reloc::PIC_, and llvm::Reloc::Static.
| unsigned PPCDarwinTargetAsmInfo::PreferredEHDataFormat | ( | DwarfEncoding::Target | Reason, | |
| bool | Global | |||
| ) | const [virtual] |
PreferredEHDataFormat - This hook allows the target to select data format used for encoding pointers in exception handling data. Reason is 0 for data, 1 for code labels, 2 for function pointers. Global is true if the symbol can be relocated.
Definition at line 82 of file PPCTargetAsmInfo.cpp.
References llvm::DwarfEncoding::CodeLabels, llvm::dwarf::DW_EH_PE_absptr, llvm::dwarf::DW_EH_PE_indirect, llvm::dwarf::DW_EH_PE_pcrel, llvm::dwarf::DW_EH_PE_sdata4, and llvm::DwarfEncoding::Functions.
| const char * PPCDarwinTargetAsmInfo::getEHGlobalPrefix | ( | ) | const [virtual] |
Definition at line 93 of file PPCTargetAsmInfo.cpp.
References llvm::PPCSubtarget::getDarwinVers(), llvm::TargetMachine::getSubtarget(), Subtarget, and TM.