LLVM API Documentation
#include <MachO.h>
Public Types | |
| enum | { NO_SECT = 0 } |
| enum | { N_UNDF = 0x0, N_ABS = 0x2, N_SECT = 0xe, N_PBUD = 0xc, N_INDR = 0xa } |
| enum | { N_EXT = 0x01, N_PEXT = 0x10 } |
| enum | { REFERENCE_FLAG_UNDEFINED_NON_LAZY = 0, REFERENCE_FLAG_UNDEFINED_LAZY = 1, REFERENCE_FLAG_DEFINED = 2, REFERENCE_FLAG_PRIVATE_DEFINED = 3, REFERENCE_FLAG_PRIVATE_UNDEFINED_NON_LAZY = 4, REFERENCE_FLAG_PRIVATE_UNDEFINED_LAZY = 5 } |
| enum | { N_NO_DEAD_STRIP = 0x0020, N_WEAK_REF = 0x0040, N_WEAK_DEF = 0x0080 } |
Public Member Functions | |
| MachOSym (const GlobalValue *gv, std::string name, uint8_t sect, const TargetAsmInfo *TAI) | |
Static Public Member Functions | |
| static bool | PartitionByLocal (const MachOSym &Sym) |
| static bool | PartitionByDefined (const MachOSym &Sym) |
Public Attributes | |
| const GlobalValue * | GV |
| std::string | GVName |
| uint32_t | n_strx |
| uint8_t | n_type |
| uint8_t | n_sect |
| int16_t | n_desc |
| uint64_t | n_value |
Classes | |
| struct | SymCmp |
Definition at line 29 of file MachO.h.
| anonymous enum |
| anonymous enum |
| llvm::MachOSym::MachOSym | ( | const GlobalValue * | gv, | |
| std::string | name, | |||
| uint8_t | sect, | |||
| const TargetAsmInfo * | TAI | |||
| ) |
Definition at line 745 of file MachOWriter.cpp.
References llvm::GlobalValue::CommonLinkage, llvm::GlobalValue::ExternalLinkage, llvm::TargetAsmInfo::getGlobalPrefix(), llvm::TargetAsmInfo::getLinkerPrivateGlobalPrefix(), llvm::TargetAsmInfo::getPrivateGlobalPrefix(), GVName, llvm::GlobalValue::InternalLinkage, llvm::GlobalValue::LinkerPrivateLinkage, llvm::GlobalValue::LinkOnceAnyLinkage, llvm::GlobalValue::LinkOnceODRLinkage, llvm_unreachable, N_EXT, N_PEXT, n_type, llvm::GlobalValue::PrivateLinkage, llvm::GlobalValue::WeakAnyLinkage, and llvm::GlobalValue::WeakODRLinkage.
| const GlobalValue* llvm::MachOSym::GV |
| std::string llvm::MachOSym::GVName |
Definition at line 31 of file MachO.h.
Referenced by MachOSym(), and llvm::MachOSym::SymCmp::operator()().
| uint32_t llvm::MachOSym::n_strx |
| uint8_t llvm::MachOSym::n_type |
Definition at line 33 of file MachO.h.
Referenced by MachOSym(), PartitionByDefined(), and PartitionByLocal().
| uint8_t llvm::MachOSym::n_sect |
| int16_t llvm::MachOSym::n_desc |
| uint64_t llvm::MachOSym::n_value |