Home
last modified time | relevance | path

Searched refs:macho (Results 1 – 25 of 41) sorted by relevance

12

/external/llvm/include/llvm/Object/
DMachOObject.h49 macho::LoadCommand Command;
72 macho::Header Header;
73 macho::Header64Ext Header64Ext;
103 return Is64Bit ? macho::Header64Size : macho::Header32Size; in getHeaderSize()
122 void RegisterStringTable(macho::SymtabLoadCommand &SLC);
128 const macho::Header &getHeader() const { return Header; } in getHeader()
129 const macho::Header64Ext &getHeader64Ext() const { in getHeader64Ext()
143 InMemoryStruct<macho::SegmentLoadCommand> &Res) const;
146 InMemoryStruct<macho::Segment64LoadCommand> &Res) const;
149 InMemoryStruct<macho::SymtabLoadCommand> &Res) const;
[all …]
DMachO.h114 InMemoryStruct<macho::SymbolTableEntry> &Res) const;
116 InMemoryStruct<macho::Symbol64TableEntry> &Res) const;
118 void getSection(DataRefImpl DRI, InMemoryStruct<macho::Section> &Res) const;
120 InMemoryStruct<macho::Section64> &Res) const;
122 InMemoryStruct<macho::RelocationEntry> &Res) const;
125 void printRelocationTargetName(InMemoryStruct<macho::RelocationEntry>& RE,
/external/llvm/lib/Object/
DMachOObjectFile.cpp62 if (LCI.Command.Type == macho::LCT_Symtab) { in moveToNextSymbol()
63 InMemoryStruct<macho::SymtabLoadCommand> SymtabLoadCmd; in moveToNextSymbol()
75 InMemoryStruct<macho::SymbolTableEntry> &Res) const { in getSymbolTableEntry()
76 InMemoryStruct<macho::SymtabLoadCommand> SymtabLoadCmd; in getSymbolTableEntry()
90 InMemoryStruct<macho::Symbol64TableEntry> &Res) const { in getSymbol64TableEntry()
91 InMemoryStruct<macho::SymtabLoadCommand> SymtabLoadCmd; in getSymbol64TableEntry()
116 InMemoryStruct<macho::Symbol64TableEntry> Entry; in getSymbolName()
120 InMemoryStruct<macho::SymbolTableEntry> Entry; in getSymbolName()
130 InMemoryStruct<macho::Symbol64TableEntry> Entry; in getSymbolFileOffset()
134 InMemoryStruct<macho::Section64> Section; in getSymbolFileOffset()
[all …]
DMachOObject.cpp113 unsigned HeaderSize = Is64Bit ? macho::Header64Size : macho::Header32Size; in LoadFromBuffer()
136 void MachOObject::RegisterStringTable(macho::SymtabLoadCommand &SLC) { in RegisterStringTable()
158 sizeof(macho::LoadCommand)); in getLoadCommandInfo()
171 void SwapStruct(macho::SegmentLoadCommand &Value) { in SwapStruct()
184 InMemoryStruct<macho::SegmentLoadCommand> &Res) const { in ReadSegmentLoadCommand()
189 void SwapStruct(macho::Segment64LoadCommand &Value) { in SwapStruct()
202 InMemoryStruct<macho::Segment64LoadCommand> &Res) const { in ReadSegment64LoadCommand()
207 void SwapStruct(macho::SymtabLoadCommand &Value) { in SwapStruct()
216 InMemoryStruct<macho::SymtabLoadCommand> &Res) const { in ReadSymtabLoadCommand()
221 void SwapStruct(macho::DysymtabLoadCommand &Value) { in SwapStruct()
[all …]
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldMachO.cpp90 case macho::RIT_Vanilla: { in resolveI386Relocation()
98 case macho::RIT_Difference: in resolveI386Relocation()
99 case macho::RIT_Generic_LocalDifference: in resolveI386Relocation()
100 case macho::RIT_Generic_PreboundLazyPointer: in resolveI386Relocation()
123 case macho::RIT_X86_64_Signed1: in resolveX86_64Relocation()
124 case macho::RIT_X86_64_Signed2: in resolveX86_64Relocation()
125 case macho::RIT_X86_64_Signed4: in resolveX86_64Relocation()
126 case macho::RIT_X86_64_Signed: in resolveX86_64Relocation()
127 case macho::RIT_X86_64_Unsigned: in resolveX86_64Relocation()
128 case macho::RIT_X86_64_Branch: { in resolveX86_64Relocation()
[all …]
/external/chromium/build/mac/
Dstrip_save_dsym45 def macho_archs(macho): argument
51 file_cmd = subprocess.Popen(["/usr/bin/file", "-b", "--", macho],
77 print >> sys.stderr, "No architectures in %s" % macho
85 def macho_uuids(macho): argument
88 archs = macho_archs(macho)
97 macho],
169 print >> sys.stderr, "No UUIDs in %s" % macho
175 def dsym_path(macho): argument
187 dsym = macho
195 def make_fake_dsym(macho, dsym): argument
[all …]
/external/llvm/lib/Target/ARM/MCTargetDesc/
DARMMachObjectWriter.cpp59 RelocType = unsigned(macho::RIT_Vanilla); in getARMFixupKindMachOInfo()
88 RelocType = unsigned(macho::RIT_ARM_Branch24Bit); in getARMFixupKindMachOInfo()
95 RelocType = unsigned(macho::RIT_ARM_ThumbBranch22Bit); in getARMFixupKindMachOInfo()
102 RelocType = unsigned(macho::RIT_ARM_ThumbBranch22Bit); in getARMFixupKindMachOInfo()
117 RelocType = unsigned(macho::RIT_ARM_Half); in getARMFixupKindMachOInfo()
122 RelocType = unsigned(macho::RIT_ARM_Half); in getARMFixupKindMachOInfo()
128 RelocType = unsigned(macho::RIT_ARM_Half); in getARMFixupKindMachOInfo()
133 RelocType = unsigned(macho::RIT_ARM_Half); in getARMFixupKindMachOInfo()
149 unsigned Type = macho::RIT_ARM_Half; in RecordARMScatteredHalfRelocation()
175 Type = macho::RIT_ARM_HalfDifference; in RecordARMScatteredHalfRelocation()
[all …]
/external/llvm/lib/Target/X86/MCTargetDesc/
DX86MachObjectWriter.cpp133 Type = macho::RIT_X86_64_Unsigned; in RecordX86_64Relocation()
142 Type = macho::RIT_X86_64_Branch; in RecordX86_64Relocation()
189 Type = macho::RIT_X86_64_Unsigned; in RecordX86_64Relocation()
191 macho::RelocationEntry MRE; in RecordX86_64Relocation()
208 Type = macho::RIT_X86_64_Subtractor; in RecordX86_64Relocation()
268 Type = macho::RIT_X86_64_GOTLoad; in RecordX86_64Relocation()
270 Type = macho::RIT_X86_64_GOT; in RecordX86_64Relocation()
272 Type = macho::RIT_X86_64_TLV; in RecordX86_64Relocation()
276 Type = macho::RIT_X86_64_Signed; in RecordX86_64Relocation()
293 case 1: Type = macho::RIT_X86_64_Signed1; break; in RecordX86_64Relocation()
[all …]
/external/llvm/lib/MC/
DMachObjectWriter.cpp116 Flags |= macho::HF_SubsectionsViaSymbols; in WriteHeader()
124 Write32(is64Bit() ? macho::HM_Object64 : macho::HM_Object32); in WriteHeader()
129 Write32(macho::HFT_Object); in WriteHeader()
137 (is64Bit() ? macho::Header64Size : macho::Header32Size)); in WriteHeader()
155 is64Bit() ? macho::SegmentLoadCommand64Size: in WriteSegmentLoadCommand()
156 macho::SegmentLoadCommand32Size; in WriteSegmentLoadCommand()
157 Write32(is64Bit() ? macho::LCT_Segment64 : macho::LCT_Segment); in WriteSegmentLoadCommand()
159 NumSections * (is64Bit() ? macho::Section64Size : in WriteSegmentLoadCommand()
160 macho::Section32Size)); in WriteSegmentLoadCommand()
228 assert(OS.tell() - Start == (is64Bit() ? macho::Section64Size : in WriteSection()
[all …]
/external/llvm/tools/macho-dump/
Dmacho-dump.cpp98 InMemoryStruct<macho::RelocationEntry> RE; in DumpSectionData()
129 InMemoryStruct<macho::SegmentLoadCommand> SLC; in DumpSegmentCommand()
143 InMemoryStruct<macho::Section> Sect; in DumpSegmentCommand()
165 InMemoryStruct<macho::Segment64LoadCommand> SLC; in DumpSegment64Command()
179 InMemoryStruct<macho::Section64> Sect; in DumpSegment64Command()
216 InMemoryStruct<macho::SymtabLoadCommand> SLC; in DumpSymtabCommand()
239 InMemoryStruct<macho::Symbol64TableEntry> STE; in DumpSymtabCommand()
249 InMemoryStruct<macho::SymbolTableEntry> STE; in DumpSymtabCommand()
267 InMemoryStruct<macho::DysymtabLoadCommand> DLC; in DumpDysymtabCommand()
297 InMemoryStruct<macho::IndirectSymbolTableEntry> ISTE; in DumpDysymtabCommand()
[all …]
DCMakeLists.txt3 add_llvm_tool(macho-dump
4 macho-dump.cpp
DLLVMBuild.txt1 ;===- ./tools/macho-dump/LLVMBuild.txt -------------------------*- Conf -*--===;
20 name = macho-dump
DMakefile11 TOOLNAME := macho-dump
/external/llvm/test/Object/
Dobjdump-symbol-table.test5 RUN: llvm-objdump -t %p/Inputs/trivial-object-test.macho-i386 \
6 RUN: | FileCheck %s -check-prefix macho-i386
29 macho-i386: trivial-object-test.macho-i386: file format Mach-O 32-bit i386
30 macho-i386: SYMBOL TABLE:
31 macho-i386: 00000000 g F __TEXT,__text 00000024 _main
32 macho-i386: 00000000 *UND* 00000000 _SomeOtherFunction
33 macho-i386: 00000000 *UND* 00000000 _puts
Dnm-trivial-object.test9 RUN: llvm-nm %p/Inputs/trivial-object-test.macho-i386 \
10 RUN: | FileCheck %s -check-prefix macho
11 RUN: llvm-nm %p/Inputs/trivial-object-test.macho-x86-64 \
26 macho: 00000000 U _SomeOtherFunction
27 macho: 00000000 s _main
28 macho: 00000000 U _puts
/external/llvm/test/MC/MachO/ARM/
Dempty-function-nop.ll1 ; RUN: llc < %s -filetype=obj -mtriple=thumbv6-apple-darwin -o - | macho-dump --dump-section-data |…
2 ; RUN: llc < %s -filetype=obj -mtriple=thumbv7-apple-darwin -o - | macho-dump --dump-section-data |…
3 ; RUN: llc < %s -filetype=obj -mtriple=armv6-apple-darwin -o - | macho-dump --dump-section-data | F…
4 ; RUN: llc < %s -filetype=obj -mtriple=armv7-apple-darwin -o - | macho-dump --dump-section-data | F…
Drelax-thumb2-branches.s1 @ RUN: llvm-mc -triple=thumbv7-apple-darwin -show-encoding %s -filetype=obj -o - | macho-dump --dum…
Dthumb2-movt-fixup.s1 @ RUN: llvm-mc -mcpu=cortex-a8 -triple thumbv7-apple-darwin10 -filetype=obj -o - < %s | macho-dump …
Dnop-armv6t2-padding.s2 @ RUN: macho-dump --dump-section-data < %t.obj > %t.dump
Dnop-armv4-padding.s2 @ RUN: macho-dump --dump-section-data < %t.obj > %t.dump
Dthumb2-function-relative-load.s2 @ RUN: macho-dump --dump-section-data < %t.obj > %t.dump
Drelax-thumb-ldr-literal.s2 @ RUN: macho-dump --dump-section-data < %t.obj > %t.dump
Dnop-thumb2-padding.s2 @ RUN: macho-dump --dump-section-data < %t.obj > %t.dump
/external/llvm/tools/llvm-objdump/
DMachODump.cpp202 static void getSectionsAndSymbols(const macho::Header &Header, in getSectionsAndSymbols()
204 InMemoryStruct<macho::SymtabLoadCommand> *SymtabLC, in getSectionsAndSymbols()
224 if (LCI.Command.Type == macho::LCT_FunctionStarts) { in getSectionsAndSymbols()
227 InMemoryStruct<macho::LinkeditDataLoadCommand> LLC; in getSectionsAndSymbols()
275 const macho::Header &Header = MachOObj->getHeader(); in DisassembleInputMachO()
281 if (LCI.Command.Type == macho::LCT_Symtab) { in DisassembleInputMachO()
288 InMemoryStruct<macho::SymtabLoadCommand> SymtabLC; in DisassembleInputMachO()
330 const macho::Header &Header = DSYMObj->getObject()->getHeader(); in DisassembleInputMachO()
/external/llvm/test/Scripts/
Dmacho-dumpx.bat6 %PYTHON_EXECUTABLE% -u %LLVM_SRC_ROOT%\test\Scripts\macho-dump %1 %2 %3 %4 %5 %6 %7 %8 %9

12