Lines Matching refs:MachO

1 //===- MachO.h - MachO object file implementation ---------------*- C++ -*-===//
11 // interface for MachO files.
22 #include "llvm/Support/MachO.h"
56 MachO::load_command C; // The command itself.
137 // In a MachO file, sections have a segment name. This is used in the .o
147 // MachO specific Info about relocations.
148 bool isRelocationScattered(const MachO::any_relocation_info &RE) const;
150 const MachO::any_relocation_info &RE) const;
151 bool getPlainRelocationExternal(const MachO::any_relocation_info &RE) const;
153 const MachO::any_relocation_info &RE) const;
155 const MachO::any_relocation_info &RE) const;
156 unsigned getAnyRelocationAddress(const MachO::any_relocation_info &RE) const;
157 unsigned getAnyRelocationPCRel(const MachO::any_relocation_info &RE) const;
158 unsigned getAnyRelocationLength(const MachO::any_relocation_info &RE) const;
159 unsigned getAnyRelocationType(const MachO::any_relocation_info &RE) const;
160 SectionRef getRelocationSection(const MachO::any_relocation_info &RE) const;
166 // MachO specific structures.
167 MachO::section getSection(DataRefImpl DRI) const;
168 MachO::section_64 getSection64(DataRefImpl DRI) const;
169 MachO::section getSection(const LoadCommandInfo &L, unsigned Index) const;
170 MachO::section_64 getSection64(const LoadCommandInfo &L,unsigned Index) const;
171 MachO::nlist getSymbolTableEntry(DataRefImpl DRI) const;
172 MachO::nlist_64 getSymbol64TableEntry(DataRefImpl DRI) const;
174 MachO::linkedit_data_command
176 MachO::segment_command
178 MachO::segment_command_64
180 MachO::linker_options_command
183 MachO::any_relocation_info getRelocation(DataRefImpl Rel) const;
184 MachO::data_in_code_entry getDice(DataRefImpl Rel) const;
185 MachO::mach_header getHeader() const;
186 MachO::mach_header_64 getHeader64() const;
188 getIndirectSymbolTableEntry(const MachO::dysymtab_command &DLC,
190 MachO::data_in_code_entry getDataInCodeTableEntry(uint32_t DataOffset,
192 MachO::symtab_command getSymtabLoadCommand() const;
193 MachO::dysymtab_command getDysymtabLoadCommand() const;
194 MachO::linkedit_data_command getDataInCodeLoadCommand() const;
228 const MachO::data_in_code_entry *P =
229 reinterpret_cast<const MachO::data_in_code_entry *>(Rel.p);
242 MachO::data_in_code_entry Dice = MachOOF->getDice(DicePimpl);
250 MachO::data_in_code_entry Dice = MachOOF->getDice(DicePimpl);
258 MachO::data_in_code_entry Dice = MachOOF->getDice(DicePimpl);