/external/llvm/lib/Object/ |
D | MachOObjectFile.cpp | 50 void SwapStruct(MachO::any_relocation_info &H) { in SwapStruct() 56 void SwapStruct(MachO::load_command &L) { in SwapStruct() 68 void SwapStruct(MachO::section &S) { in SwapStruct() 81 void SwapStruct(MachO::section_64 &S) { in SwapStruct() 95 void SwapStruct(MachO::nlist &S) { in SwapStruct() 102 void SwapStruct(MachO::nlist_64 &S) { in SwapStruct() 109 void SwapStruct(MachO::mach_header &H) { in SwapStruct() 120 void SwapStruct(MachO::mach_header_64 &H) { in SwapStruct() 132 void SwapStruct(MachO::symtab_command &C) { in SwapStruct() 142 void SwapStruct(MachO::dysymtab_command &C) { in SwapStruct() [all …]
|
D | MachOUniversal.cpp | 29 void SwapStruct(MachO::fat_header &H) { in SwapStruct() 35 void SwapStruct(MachO::fat_arch &H) { in SwapStruct() 61 const char *HeaderPos = ParentData.begin() + sizeof(MachO::fat_header) + in ObjectForArch() 62 Index * sizeof(MachO::fat_arch); in ObjectForArch() 63 Header = getUniversalBinaryStruct<MachO::fat_arch>(HeaderPos); in ObjectForArch() 116 if (Data->getBufferSize() < sizeof(MachO::fat_header)) { in MachOUniversalBinary() 122 MachO::fat_header H= getUniversalBinaryStruct<MachO::fat_header>(Buf.begin()); in MachOUniversalBinary() 124 uint32_t MinSize = sizeof(MachO::fat_header) + in MachOUniversalBinary() 125 sizeof(MachO::fat_arch) * NumberOfObjects; in MachOUniversalBinary() 126 if (H.magic != MachO::FAT_MAGIC || Buf.size() < MinSize) { in MachOUniversalBinary() [all …]
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyldMachO.cpp | 83 ((MachO::section_64 *)data)->addr = Addr; in updateSectionAddress() 85 ((MachO::section *)data)->addr = Addr; in updateSectionAddress() 108 ((MachO::nlist_64 *)data)->n_value = Addr; in updateSymbolAddress() 110 ((MachO::nlist *)data)->n_value = Addr; in updateSymbolAddress() 125 bool is64 = (magic == MachO::MH_MAGIC_64); in createObjectImage() 126 assert((magic == MachO::MH_MAGIC_64 || magic == MachO::MH_MAGIC) && in createObjectImage() 140 bool is64 = (magic == MachO::MH_MAGIC_64); in createObjectImageFromFile() 141 assert((magic == MachO::MH_MAGIC_64 || magic == MachO::MH_MAGIC) && in createObjectImageFromFile() 313 case MachO::GENERIC_RELOC_VANILLA: in resolveI386Relocation() 316 case MachO::GENERIC_RELOC_SECTDIFF: in resolveI386Relocation() [all …]
|
/external/llvm/include/llvm/Object/ |
D | MachO.h | 56 MachO::load_command C; // The command itself. 168 bool isRelocationScattered(const MachO::any_relocation_info &RE) const; 170 const MachO::any_relocation_info &RE) const; 171 bool getPlainRelocationExternal(const MachO::any_relocation_info &RE) const; 173 const MachO::any_relocation_info &RE) const; 175 const MachO::any_relocation_info &RE) const; 176 unsigned getAnyRelocationAddress(const MachO::any_relocation_info &RE) const; 177 unsigned getAnyRelocationPCRel(const MachO::any_relocation_info &RE) const; 178 unsigned getAnyRelocationLength(const MachO::any_relocation_info &RE) const; 179 unsigned getAnyRelocationType(const MachO::any_relocation_info &RE) const; [all …]
|
/external/llvm/tools/llvm-size/ |
D | llvm-size.cpp | 117 static void PrintDarwinSectionSizes(MachOObjectFile *MachO) { in PrintDarwinSectionSizes() argument 125 uint32_t LoadCommandCount = MachO->getHeader().ncmds; in PrintDarwinSectionSizes() 126 uint32_t Filetype = MachO->getHeader().filetype; in PrintDarwinSectionSizes() 127 MachOObjectFile::LoadCommandInfo Load = MachO->getFirstLoadCommandInfo(); in PrintDarwinSectionSizes() 131 if (Load.C.cmd == MachO::LC_SEGMENT_64) { in PrintDarwinSectionSizes() 132 MachO::segment_command_64 Seg = MachO->getSegment64LoadCommand(Load); in PrintDarwinSectionSizes() 142 MachO::section_64 Sec = MachO->getSection64(Load, J); in PrintDarwinSectionSizes() 143 if (Filetype == MachO::MH_OBJECT) in PrintDarwinSectionSizes() 157 } else if (Load.C.cmd == MachO::LC_SEGMENT) { in PrintDarwinSectionSizes() 158 MachO::segment_command Seg = MachO->getSegmentLoadCommand(Load); in PrintDarwinSectionSizes() [all …]
|
/external/llvm/tools/llvm-nm/ |
D | llvm-nm.cpp | 242 else if (MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(Obj)) in isSymbolList64Bit() local 243 return MachO->is64Bit(); in isSymbolList64Bit() 263 static void darwinPrintSymbol(MachOObjectFile *MachO, SymbolListT::iterator I, in darwinPrintSymbol() argument 265 MachO::mach_header H; in darwinPrintSymbol() 266 MachO::mach_header_64 H_64; in darwinPrintSymbol() 268 MachO::nlist_64 STE_64; in darwinPrintSymbol() 269 MachO::nlist STE; in darwinPrintSymbol() 273 if (MachO->is64Bit()) { in darwinPrintSymbol() 274 H_64 = MachO->MachOObjectFile::getHeader64(); in darwinPrintSymbol() 277 STE_64 = MachO->getSymbol64TableEntry(I->Symb); in darwinPrintSymbol() [all …]
|
/external/llvm/lib/Target/PowerPC/MCTargetDesc/ |
D | PPCMachObjectWriter.cpp | 92 unsigned Type = MachO::GENERIC_RELOC_VANILLA; in getRelocType() 98 Type = MachO::PPC_RELOC_BR24; // R_PPC_REL24 in getRelocType() 101 Type = MachO::PPC_RELOC_BR14; in getRelocType() 108 Type = MachO::PPC_RELOC_HA16; in getRelocType() 111 Type = MachO::PPC_RELOC_LO16; in getRelocType() 114 Type = MachO::PPC_RELOC_HI16; in getRelocType() 128 Type = MachO::PPC_RELOC_HA16_SECTDIFF; in getRelocType() 131 Type = MachO::PPC_RELOC_LO16_SECTDIFF; in getRelocType() 134 Type = MachO::PPC_RELOC_HI16_SECTDIFF; in getRelocType() 147 static void makeRelocationInfo(MachO::any_relocation_info &MRE, in makeRelocationInfo() [all …]
|
/external/llvm/lib/Target/ARM/MCTargetDesc/ |
D | ARMMachObjectWriter.cpp | 66 RelocType = unsigned(MachO::ARM_RELOC_VANILLA); in getARMFixupKindMachOInfo() 99 RelocType = unsigned(MachO::ARM_RELOC_BR24); in getARMFixupKindMachOInfo() 106 RelocType = unsigned(MachO::ARM_THUMB_RELOC_BR22); in getARMFixupKindMachOInfo() 113 RelocType = unsigned(MachO::ARM_THUMB_RELOC_BR22); in getARMFixupKindMachOInfo() 127 RelocType = unsigned(MachO::ARM_RELOC_HALF); in getARMFixupKindMachOInfo() 131 RelocType = unsigned(MachO::ARM_RELOC_HALF); in getARMFixupKindMachOInfo() 136 RelocType = unsigned(MachO::ARM_RELOC_HALF); in getARMFixupKindMachOInfo() 140 RelocType = unsigned(MachO::ARM_RELOC_HALF); in getARMFixupKindMachOInfo() 156 unsigned Type = MachO::ARM_RELOC_HALF; in RecordARMScatteredHalfRelocation() 182 Type = MachO::ARM_RELOC_HALF_SECTDIFF; in RecordARMScatteredHalfRelocation() [all …]
|
D | ARMAsmBackend.cpp | 788 const MachO::CPUSubTypeARM Subtype; 790 MachO::CPUSubTypeARM st) in DarwinARMAsmBackend() 797 MachO::CPU_TYPE_ARM, in createObjectWriter() 812 case Triple::MachO: { in createARMAsmBackend() 813 MachO::CPUSubTypeARM CS = in createARMAsmBackend() 814 StringSwitch<MachO::CPUSubTypeARM>(TheTriple.getArchName()) in createARMAsmBackend() 815 .Cases("armv4t", "thumbv4t", MachO::CPU_SUBTYPE_ARM_V4T) in createARMAsmBackend() 816 .Cases("armv5e", "thumbv5e", MachO::CPU_SUBTYPE_ARM_V5TEJ) in createARMAsmBackend() 817 .Cases("armv6", "thumbv6", MachO::CPU_SUBTYPE_ARM_V6) in createARMAsmBackend() 818 .Cases("armv6m", "thumbv6m", MachO::CPU_SUBTYPE_ARM_V6M) in createARMAsmBackend() [all …]
|
/external/llvm/lib/MC/ |
D | MachObjectWriter.cpp | 132 Flags |= MachO::MH_SUBSECTIONS_VIA_SYMBOLS; in WriteHeader() 140 Write32(is64Bit() ? MachO::MH_MAGIC_64 : MachO::MH_MAGIC); in WriteHeader() 145 Write32(MachO::MH_OBJECT); in WriteHeader() 153 (is64Bit()?sizeof(MachO::mach_header_64): sizeof(MachO::mach_header))); in WriteHeader() 171 is64Bit() ? sizeof(MachO::segment_command_64): in WriteSegmentLoadCommand() 172 sizeof(MachO::segment_command); in WriteSegmentLoadCommand() 173 Write32(is64Bit() ? MachO::LC_SEGMENT_64 : MachO::LC_SEGMENT); in WriteSegmentLoadCommand() 175 NumSections * (is64Bit() ? sizeof(MachO::section_64) : in WriteSegmentLoadCommand() 176 sizeof(MachO::section))); in WriteSegmentLoadCommand() 191 Write32(MachO::VM_PROT_READ | MachO::VM_PROT_WRITE | MachO::VM_PROT_EXECUTE); in WriteSegmentLoadCommand() [all …]
|
D | MCSectionMachO.cpp | 21 } SectionTypeDescriptors[MachO::LAST_KNOWN_SECTION_TYPE+1] = { 57 { MachO::ENUM, ASMNAME, #ENUM }, 102 MachO::SectionType SectionType = getType(); in PrintSwitchToSection() 103 assert(SectionType <= MachO::LAST_KNOWN_SECTION_TYPE && in PrintSwitchToSection() 116 unsigned SectionAttrs = TAA & MachO::SECTION_ATTRIBUTES; in PrintSwitchToSection() 155 return hasAttribute(MachO::S_ATTR_PURE_INSTRUCTIONS); in UseCodeAlign() 159 return (getType() == MachO::S_ZEROFILL || in isVirtualSection() 160 getType() == MachO::S_GB_ZEROFILL || in isVirtualSection() 161 getType() == MachO::S_THREAD_LOCAL_ZEROFILL); in isVirtualSection() 228 if (TAA == MachO::S_SYMBOL_STUBS) in ParseSectionSpecifier() [all …]
|
D | MCObjectFileInfo.cpp | 62 MachO::S_ATTR_PURE_INSTRUCTIONS, in InitMachOMCObjectFileInfo() 73 MachO::S_THREAD_LOCAL_REGULAR, in InitMachOMCObjectFileInfo() 77 MachO::S_THREAD_LOCAL_ZEROFILL, in InitMachOMCObjectFileInfo() 83 MachO::S_THREAD_LOCAL_VARIABLES, in InitMachOMCObjectFileInfo() 88 MachO::S_THREAD_LOCAL_INIT_FUNCTION_POINTERS, in InitMachOMCObjectFileInfo() 93 MachO::S_CSTRING_LITERALS, in InitMachOMCObjectFileInfo() 100 MachO::S_4BYTE_LITERALS, in InitMachOMCObjectFileInfo() 104 MachO::S_8BYTE_LITERALS, in InitMachOMCObjectFileInfo() 109 MachO::S_16BYTE_LITERALS, in InitMachOMCObjectFileInfo() 118 MachO::S_COALESCED | in InitMachOMCObjectFileInfo() [all …]
|
/external/llvm/lib/MC/MCParser/ |
D | DarwinAsmParser.cpp | 202 MachO::S_CSTRING_LITERALS); in parseSectionDirectiveCString() 206 MachO::S_4BYTE_LITERALS, 4); in parseSectionDirectiveLiteral4() 210 MachO::S_8BYTE_LITERALS, 8); in parseSectionDirectiveLiteral8() 214 MachO::S_16BYTE_LITERALS, 16); in parseSectionDirectiveLiteral16() 230 MachO::S_SYMBOL_STUBS | in parseSectionDirectiveSymbolStub() 231 MachO::S_ATTR_PURE_INSTRUCTIONS, in parseSectionDirectiveSymbolStub() 237 MachO::S_SYMBOL_STUBS | in parseSectionDirectivePICSymbolStub() 238 MachO::S_ATTR_PURE_INSTRUCTIONS, 0, 26); in parseSectionDirectivePICSymbolStub() 248 MachO::S_NON_LAZY_SYMBOL_POINTERS, 4); in parseSectionDirectiveNonLazySymbolPointers() 252 MachO::S_LAZY_SYMBOL_POINTERS, 4); in parseSectionDirectiveLazySymbolPointers() [all …]
|
/external/llvm/tools/macho-dump/ |
D | macho-dump.cpp | 102 MachO::any_relocation_info RE = Obj.getRelocation(I->getRawDataRefImpl()); in DumpSectionData() 127 MachO::segment_command SLC = Obj.getSegmentLoadCommand(LCI); in DumpSegmentCommand() 136 MachO::section Sect = Obj.getSection(LCI, i); in DumpSegmentCommand() 150 MachO::segment_command_64 SLC = Obj.getSegment64LoadCommand(LCI); in DumpSegment64Command() 158 MachO::section_64 Sect = Obj.getSection64(LCI, i); in DumpSegment64Command() 189 MachO::symtab_command SLC = Obj.getSymtabLoadCommand(); in DumpSymtabCommand() 208 MachO::nlist_64 STE = Obj.getSymbol64TableEntry(DRI); in DumpSymtabCommand() 213 MachO::nlist STE = Obj.getSymbolTableEntry(DRI); in DumpSymtabCommand() 226 MachO::dysymtab_command DLC = Obj.getDysymtabLoadCommand(); in DumpDysymtabCommand() 262 MachO::linkedit_data_command LLC = Obj.getLinkeditDataLoadCommand(LCI); in DumpLinkeditDataCommand() [all …]
|
/external/llvm/lib/Target/AArch64/MCTargetDesc/ |
D | AArch64MachObjectWriter.cpp | 46 RelocType = unsigned(MachO::ARM64_RELOC_UNSIGNED); in getAArch64FixupKindMachOInfo() 62 RelocType = unsigned(MachO::ARM64_RELOC_POINTER_TO_GOT); in getAArch64FixupKindMachOInfo() 67 RelocType = unsigned(MachO::ARM64_RELOC_POINTER_TO_GOT); in getAArch64FixupKindMachOInfo() 80 RelocType = unsigned(MachO::ARM64_RELOC_PAGEOFF12); in getAArch64FixupKindMachOInfo() 83 RelocType = unsigned(MachO::ARM64_RELOC_GOT_LOAD_PAGEOFF12); in getAArch64FixupKindMachOInfo() 86 RelocType = unsigned(MachO::ARM64_RELOC_TLVP_LOAD_PAGEOFF12); in getAArch64FixupKindMachOInfo() 97 RelocType = unsigned(MachO::ARM64_RELOC_PAGE21); in getAArch64FixupKindMachOInfo() 100 RelocType = unsigned(MachO::ARM64_RELOC_GOT_LOAD_PAGE21); in getAArch64FixupKindMachOInfo() 103 RelocType = unsigned(MachO::ARM64_RELOC_TLVP_LOAD_PAGE21); in getAArch64FixupKindMachOInfo() 110 RelocType = unsigned(MachO::ARM64_RELOC_BRANCH26); in getAArch64FixupKindMachOInfo() [all …]
|
/external/llvm/lib/Target/X86/MCTargetDesc/ |
D | X86MachObjectWriter.cpp | 134 Type = MachO::X86_64_RELOC_UNSIGNED; in RecordX86_64Relocation() 143 Type = MachO::X86_64_RELOC_BRANCH; in RecordX86_64Relocation() 201 Type = MachO::X86_64_RELOC_UNSIGNED; in RecordX86_64Relocation() 203 MachO::any_relocation_info MRE; in RecordX86_64Relocation() 220 Type = MachO::X86_64_RELOC_SUBTRACTOR; in RecordX86_64Relocation() 233 if (Section.hasAttribute(MachO::S_ATTR_DEBUG)) in RecordX86_64Relocation() 280 Type = MachO::X86_64_RELOC_GOT_LOAD; in RecordX86_64Relocation() 282 Type = MachO::X86_64_RELOC_GOT; in RecordX86_64Relocation() 284 Type = MachO::X86_64_RELOC_TLV; in RecordX86_64Relocation() 289 Type = MachO::X86_64_RELOC_SIGNED; in RecordX86_64Relocation() [all …]
|
D | X86AsmBackend.cpp | 739 MachO::CPU_TYPE_I386, in createObjectWriter() 740 MachO::CPU_SUBTYPE_I386_ALL); in createObjectWriter() 751 const MachO::CPUSubTypeX86 Subtype; 754 StringRef CPU, MachO::CPUSubTypeX86 st) in DarwinX86_64AsmBackend() 759 MachO::CPU_TYPE_X86_64, Subtype); in createObjectWriter() 772 return SMO.getType() == MachO::S_CSTRING_LITERALS; in doesSectionRequireSymbols() 782 case MachO::S_4BYTE_LITERALS: in isSectionAtomizable() 783 case MachO::S_8BYTE_LITERALS: in isSectionAtomizable() 784 case MachO::S_16BYTE_LITERALS: in isSectionAtomizable() 785 case MachO::S_LITERAL_POINTERS: in isSectionAtomizable() [all …]
|
/external/lldb/source/Core/ |
D | ArchSpec.cpp | 157 …{ ArchSpec::eCore_arm_generic , llvm::MachO::CPUTypeARM , CPU_ANY, UINT32_MAX , UINT32_M… 158 …{ ArchSpec::eCore_arm_generic , llvm::MachO::CPUTypeARM , 0 , UINT32_MAX , SUBTYPE_… 159 …{ ArchSpec::eCore_arm_armv4 , llvm::MachO::CPUTypeARM , 5 , UINT32_MAX , SUBTYPE_… 160 …{ ArchSpec::eCore_arm_armv4t , llvm::MachO::CPUTypeARM , 5 , UINT32_MAX , SUBTYPE_… 161 …{ ArchSpec::eCore_arm_armv6 , llvm::MachO::CPUTypeARM , 6 , UINT32_MAX , SUBTYPE_… 162 …{ ArchSpec::eCore_arm_armv5 , llvm::MachO::CPUTypeARM , 7 , UINT32_MAX , SUBTYPE_… 163 …{ ArchSpec::eCore_arm_armv5e , llvm::MachO::CPUTypeARM , 7 , UINT32_MAX , SUBTYPE_… 164 …{ ArchSpec::eCore_arm_armv5t , llvm::MachO::CPUTypeARM , 7 , UINT32_MAX , SUBTYPE_… 165 …{ ArchSpec::eCore_arm_xscale , llvm::MachO::CPUTypeARM , 8 , UINT32_MAX , SUBTYPE_… 166 …{ ArchSpec::eCore_arm_armv7 , llvm::MachO::CPUTypeARM , 9 , UINT32_MAX , SUBTYPE_… [all …]
|
/external/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/ |
D | DynamicLoaderMacOSXDYLD.cpp | 292 case llvm::MachO::HeaderMagic32: in LocateDYLD() 293 case llvm::MachO::HeaderMagic64: in LocateDYLD() 294 case llvm::MachO::HeaderMagic32Swapped: in LocateDYLD() 295 case llvm::MachO::HeaderMagic64Swapped: in LocateDYLD() 387 if (m_dyld.header.filetype == llvm::MachO::HeaderFileTypeDynamicLinkEditor) in ReadDYLDInfoFromMemoryAndSetNotificationCallback() 841 if (image_infos[idx].header.filetype == llvm::MachO::HeaderFileTypeDynamicLinkEditor) in AddModulesUsingImageInfos() 1142 DynamicLoaderMacOSXDYLD::ReadMachHeader (lldb::addr_t addr, llvm::MachO::mach_header *header, DataE… in ReadMachHeader() 1144 DataBufferHeap header_bytes(sizeof(llvm::MachO::mach_header), 0); in ReadMachHeader() 1150 if (bytes_read == sizeof(llvm::MachO::mach_header)) in ReadMachHeader() 1153 ::memset (header, 0, sizeof(llvm::MachO::mach_header)); in ReadMachHeader() [all …]
|
/external/lldb/source/Plugins/ObjectFile/Mach-O/ |
D | ObjectFileMachO.h | 160 llvm::MachO::mach_header &header); 164 GetUUID (const llvm::MachO::mach_header &header, 185 llvm::MachO::mach_header m_header; 192 llvm::MachO::dysymtab_command m_dysymtab; 193 std::vector<llvm::MachO::segment_command_64> m_mach_segments; 194 std::vector<llvm::MachO::section_64> m_mach_sections;
|
/external/lldb/source/Plugins/Process/mach-core/ |
D | ProcessMachCore.cpp | 145 llvm::MachO::mach_header header; in GetDynamicLoaderAddress() 149 if (header.magic == llvm::MachO::HeaderMagic32Swapped || in GetDynamicLoaderAddress() 150 header.magic == llvm::MachO::HeaderMagic64Swapped) in GetDynamicLoaderAddress() 163 if (header.magic == llvm::MachO::HeaderMagic32 || in GetDynamicLoaderAddress() 164 header.magic == llvm::MachO::HeaderMagic64) in GetDynamicLoaderAddress() 173 case llvm::MachO::HeaderFileTypeDynamicLinkEditor: in GetDynamicLoaderAddress() 180 case llvm::MachO::HeaderFileTypeExecutable: in GetDynamicLoaderAddress() 184 if ((header.flags & llvm::MachO::HeaderFlagBitIsDynamicLinkObject) == 0) in GetDynamicLoaderAddress() 239 llvm::MachO::mach_header header; in DoLoadCore()
|
/external/lldb/source/Plugins/ObjectContainer/Universal-Mach-O/ |
D | ObjectContainerUniversalMachO.h | 94 llvm::MachO::fat_header m_header; 95 std::vector<llvm::MachO::fat_arch> m_fat_archs; 99 llvm::MachO::fat_header &header, 100 std::vector<llvm::MachO::fat_arch> &fat_archs);
|
D | ObjectContainerUniversalMachO.cpp | 22 using namespace llvm::MachO; 124 llvm::MachO::fat_header &header, in ParseHeader() 125 std::vector<llvm::MachO::fat_arch> &fat_archs) in ParseHeader() 291 llvm::MachO::fat_header header; in GetModuleSpecifications() 292 std::vector<llvm::MachO::fat_arch> fat_archs; in GetModuleSpecifications() 295 for (const llvm::MachO::fat_arch &fat_arch : fat_archs) in GetModuleSpecifications()
|
/external/llvm/tools/llvm-objdump/ |
D | MachODump.cpp | 107 case MachO::DICE_KIND_DATA: in DumpDataInCode() 128 case MachO::DICE_KIND_JUMP_TABLE8: in DumpDataInCode() 132 case MachO::DICE_KIND_JUMP_TABLE16: in DumpDataInCode() 137 case MachO::DICE_KIND_JUMP_TABLE32: in DumpDataInCode() 150 static void getSectionsAndSymbols(const MachO::mach_header Header, in getSectionsAndSymbols() 169 if (Command.C.cmd == MachO::LC_FUNCTION_STARTS) { in getSectionsAndSymbols() 172 MachO::linkedit_data_command LLC = in getSectionsAndSymbols() 177 else if (Command.C.cmd == MachO::LC_SEGMENT) { in getSectionsAndSymbols() 178 MachO::segment_command SLC = in getSectionsAndSymbols() 244 MachO::mach_header Header = MachOOF->getHeader(); in DisassembleInputMachO2() [all …]
|
/external/llvm/tools/llvm-readobj/ |
D | MachODumper.cpp | 162 MachO::section Sect = Obj->getSection(Sec); in getSection() 174 MachO::section_64 Sect = Obj->getSection64(Sec); in getSection() 191 MachO::nlist Entry = Obj->getSymbolTableEntry(DRI); in getSymbol() 199 MachO::nlist_64 Entry = Obj->getSymbol64TableEntry(DRI); in getSymbol() 319 MachO::any_relocation_info RE = Obj->getRelocation(DR); in printRelocation() 392 if (MOSymbol.Type & MachO::N_STAB) { in printSymbol() 395 if (MOSymbol.Type & MachO::N_PEXT) in printSymbol() 397 if (MOSymbol.Type & MachO::N_EXT) in printSymbol() 399 W.printEnum("Type", uint8_t(MOSymbol.Type & MachO::N_TYPE), in printSymbol()
|