HomeSort by relevance Sort by last modified time
    Searched refs:macho (Results 1 - 25 of 111) sorted by null

1 2 3 4 5

  /external/swiftshader/third_party/LLVM/include/llvm/Object/
MachOObject.h 49 macho::LoadCommand Command;
72 macho::Header Header;
73 macho::Header64Ext Header64Ext;
103 return Is64Bit ? macho::Header64Size : macho::Header32Size;
122 void RegisterStringTable(macho::SymtabLoadCommand &SLC);
128 const macho::Header &getHeader() const { return Header; }
129 const macho::Header64Ext &getHeader64Ext() const {
143 InMemoryStruct<macho::SegmentLoadCommand> &Res) const;
146 InMemoryStruct<macho::Segment64LoadCommand> &Res) const
    [all...]
  /build/soong/cmd/symbol_inject/
macho_symboldata_test.go 18 "debug/macho"
32 var machoSymbolTable1 = &macho.File{
33 Sections: []*macho.Section{
34 &macho.Section{SectionHeader: macho.SectionHeader{Name: "__text", Seg: "__TEXT", Addr: 0x100000f50, Size: 0x2e, Offset: 0xf50, Align: 0x4, Reloff: 0x0, Nreloc: 0x0, Flags: 0x80000400}},
35 &macho.Section{SectionHeader: macho.SectionHeader{Name: "__stubs", Seg: "__TEXT", Addr: 0x100000f7e, Size: 0x6, Offset: 0xf7e, Align: 0x1, Reloff: 0x0, Nreloc: 0x0, Flags: 0x80000408}},
36 &macho.Section{SectionHeader: macho.SectionHeader{Name: "__stub_helper", Seg: "__TEXT", Addr: 0x100000f84, Size: 0x1a, Offset: 0xf84, Align: 0x2, Reloff: 0x0, Nreloc: 0x0, Flags: 0x80000400}},
37 &macho.Section{SectionHeader: macho.SectionHeader{Name: "__unwind_info", Seg: "__TEXT", Addr: 0x100000fa0 (…)
    [all...]
macho.go 18 "debug/macho"
26 machoFile, err := macho.NewFile(r)
34 func extractMachoSymbols(machoFile *macho.File) (*File, error) {
58 // symbols in macho files seem to be prefixed with an underscore
60 // MachO symbol value is virtual address of the symbol, convert it to offset into the section.
62 // MachO symbols don't have size information.
73 machoFile, err := macho.NewFile(r)
78 fmt.Println("&macho.File{")
80 fmt.Println("\tSections: []*macho.Section{")
82 fmt.Printf("\t\t&macho.Section{SectionHeader: %#v},\n", section.SectionHeader
    [all...]
  /external/swiftshader/third_party/LLVM/tools/macho-dump/
Makefile 1 ##===- tools/macho-dump/Makefile ---------------------------*- Makefile -*-===##
11 TOOLNAME = macho-dump
macho-dump.cpp 1 //===-- macho-dump.cpp - Mach Object Dumping Tool -------------------------===//
98 InMemoryStruct<macho::RelocationEntry> RE;
129 InMemoryStruct<macho::SegmentLoadCommand> SLC;
143 InMemoryStruct<macho::Section> Sect;
165 InMemoryStruct<macho::Segment64LoadCommand> SLC;
179 InMemoryStruct<macho::Section64> Sect;
216 InMemoryStruct<macho::SymtabLoadCommand> SLC;
239 InMemoryStruct<macho::Symbol64TableEntry> STE;
249 InMemoryStruct<macho::SymbolTableEntry> STE;
267 InMemoryStruct<macho::DysymtabLoadCommand> DLC
    [all...]
  /external/swiftshader/third_party/LLVM/lib/ExecutionEngine/RuntimeDyld/
RuntimeDyldMachO.cpp 54 case macho::RIT_X86_64_Unsigned:
55 case macho::RIT_X86_64_Branch: {
65 case macho::RIT_X86_64_Signed:
66 case macho::RIT_X86_64_GOTLoad:
67 case macho::RIT_X86_64_GOT:
68 case macho::RIT_X86_64_Subtractor:
69 case macho::RIT_X86_64_Signed1:
70 case macho::RIT_X86_64_Signed2:
71 case macho::RIT_X86_64_Signed4:
72 case macho::RIT_X86_64_TLV
    [all...]
  /external/swiftshader/third_party/LLVM/lib/Target/ARM/MCTargetDesc/
ARMMachObjectWriter.cpp 57 RelocType = unsigned(macho::RIT_Vanilla);
83 RelocType = unsigned(macho::RIT_ARM_Branch24Bit);
90 RelocType = unsigned(macho::RIT_ARM_ThumbBranch22Bit);
97 RelocType = unsigned(macho::RIT_ARM_ThumbBranch22Bit);
105 RelocType = unsigned(macho::RIT_ARM_HalfDifference);
114 RelocType = unsigned(macho::RIT_ARM_Half);
131 unsigned Type = macho::RIT_ARM_Half;
155 Type = macho::RIT_ARM_HalfDifference;
193 if (Type == macho::RIT_ARM_HalfDifference) {
197 macho::RelocationEntry MRE
    [all...]
  /prebuilts/go/darwin-x86/src/cmd/internal/objfile/
macho.go 11 "debug/macho"
20 macho *macho.File
24 f, err := macho.NewFile(r)
32 if f.macho.Symtab == nil {
39 for _, s := range f.macho.Symtab.Syms {
48 for _, s := range f.macho.Symtab.Syms {
60 } else if int(s.Sect) <= len(f.macho.Sections) {
61 sect := f.macho.Sections[s.Sect-1]
82 if sect := f.macho.Section("__text"); sect != nil
    [all...]
  /prebuilts/go/linux-x86/src/cmd/internal/objfile/
macho.go 11 "debug/macho"
20 macho *macho.File
24 f, err := macho.NewFile(r)
32 if f.macho.Symtab == nil {
39 for _, s := range f.macho.Symtab.Syms {
48 for _, s := range f.macho.Symtab.Syms {
60 } else if int(s.Sect) <= len(f.macho.Sections) {
61 sect := f.macho.Sections[s.Sect-1]
82 if sect := f.macho.Section("__text"); sect != nil
    [all...]
  /external/swiftshader/third_party/LLVM/lib/Object/
MachOObject.cpp 112 unsigned HeaderSize = Is64Bit ? macho::Header64Size : macho::Header32Size;
135 void MachOObject::RegisterStringTable(macho::SymtabLoadCommand &SLC) {
157 sizeof(macho::LoadCommand));
170 void SwapStruct(macho::SegmentLoadCommand &Value) {
183 InMemoryStruct<macho::SegmentLoadCommand> &Res) const {
188 void SwapStruct(macho::Segment64LoadCommand &Value) {
201 InMemoryStruct<macho::Segment64LoadCommand> &Res) const {
206 void SwapStruct(macho::SymtabLoadCommand &Value) {
215 InMemoryStruct<macho::SymtabLoadCommand> &Res) const
    [all...]
MachOObjectFile.cpp 16 #include "llvm/Object/MachO.h"
62 if (LCI.Command.Type == macho::LCT_Symtab) {
63 InMemoryStruct<macho::SymtabLoadCommand> SymtabLoadCmd;
75 InMemoryStruct<macho::SymbolTableEntry> &Res) const {
76 InMemoryStruct<macho::SymtabLoadCommand> SymtabLoadCmd;
90 InMemoryStruct<macho::Symbol64TableEntry> &Res) const {
91 InMemoryStruct<macho::SymtabLoadCommand> SymtabLoadCmd;
116 InMemoryStruct<macho::Symbol64TableEntry> Entry;
120 InMemoryStruct<macho::SymbolTableEntry> Entry;
132 InMemoryStruct<macho::Symbol64TableEntry> Entry
    [all...]
  /external/google-breakpad/src/tools/mac/upload_system_symbols/
arch_reader.go 34 "debug/macho"
42 // getArchStringFromHeader takes a MachO FileHeader and returns a string that
45 func getArchStringFromHeader(header macho.FileHeader) string {
62 MachODylib macho.Type = C.kMachHeaderFtypeDylib
  /prebuilts/go/darwin-x86/src/debug/macho/
reloctype.go 5 package macho package
20 func (r RelocTypeGeneric) GoString() string { return "macho." + r.String() }
37 func (r RelocTypeX86_64) GoString() string { return "macho." + r.String() }
54 func (r RelocTypeARM) GoString() string { return "macho." + r.String() }
72 func (r RelocTypeARM64) GoString() string { return "macho." + r.String() }
  /prebuilts/go/linux-x86/src/debug/macho/
reloctype.go 5 package macho package
20 func (r RelocTypeGeneric) GoString() string { return "macho." + r.String() }
37 func (r RelocTypeX86_64) GoString() string { return "macho." + r.String() }
54 func (r RelocTypeARM) GoString() string { return "macho." + r.String() }
72 func (r RelocTypeARM64) GoString() string { return "macho." + r.String() }
  /prebuilts/go/darwin-x86/src/cmd/link/internal/ld/
macho_combine_dwarf.go 9 "debug/macho"
18 var realdwarf, linkseg *macho.Segment
28 Cmd macho.LoadCmd
33 Cmd macho.LoadCmd
43 Cmd macho.LoadCmd
49 Cmd macho.LoadCmd
87 // machoCombineDwarf merges dwarf info generated by dsymutil into a macho executable.
90 // inexe is the path to the executable with no DWARF. It must have enough room in the macho
92 // dsym is the path to the macho file containing DWARF from dsymutil.
109 exem, err := macho.NewFile(exef
    [all...]
  /prebuilts/go/linux-x86/src/cmd/link/internal/ld/
macho_combine_dwarf.go 9 "debug/macho"
18 var realdwarf, linkseg *macho.Segment
28 Cmd macho.LoadCmd
33 Cmd macho.LoadCmd
43 Cmd macho.LoadCmd
49 Cmd macho.LoadCmd
87 // machoCombineDwarf merges dwarf info generated by dsymutil into a macho executable.
90 // inexe is the path to the executable with no DWARF. It must have enough room in the macho
92 // dsym is the path to the macho file containing DWARF from dsymutil.
109 exem, err := macho.NewFile(exef
    [all...]
  /external/llvm/test/MC/ARM/
thumb1-relax-adr.s 1 @ RUN: not llvm-mc -triple thumbv6m-none-macho -filetype=obj -o /dev/null %s 2>&1 | FileCheck --check-prefix=CHECK-ERROR %s
2 @ RUN: not llvm-mc -triple thumbv7m-none-macho -filetype=obj -o /dev/null %s 2>&1 | FileCheck --check-prefix=CHECK-ERROR %s
thumb1-relax-ldrlit.s 1 @ RUN: not llvm-mc -triple thumbv6m-none-macho -filetype=obj -o /dev/null %s 2>&1 | FileCheck --check-prefix=CHECK-ERROR %s
2 @ RUN: not llvm-mc -triple thumbv7m-none-macho -filetype=obj -o /dev/null %s 2>&1 | FileCheck --check-prefix=CHECK-ERROR %s
thumb1-relax-br.s 1 @ RUN: not llvm-mc -triple thumbv6m-none-macho -filetype=obj -o /dev/null %s 2>&1 | FileCheck --check-prefix=CHECK-ERROR %s
2 @ RUN: llvm-mc -triple thumbv7m-none-macho -filetype=obj -o %t %s
3 @ RUN: llvm-objdump -d -r -triple thumbv7m-none-macho %t | FileCheck --check-prefix=CHECK-MACHO %s
9 @ There is no MachO relocation for Thumb1's unconditional branch, so
15 @ CHECK-MACHO: ff f7 fe bf b.w #-4
16 @ CHECK-MACHO-NEXT: ARM_THUMB_RELOC_BR22
  /external/llvm/test/MC/MachO/ARM/
llvm-objdump-macho-stripped.s 1 @ RUN: llvm-mc -triple=thumbv7-apple-ios -filetype=obj -o - < %s | llvm-objdump -d -macho -triple=thumbv7-apple-ios - | FileCheck %s
  /external/swiftshader/third_party/LLVM/lib/Target/X86/MCTargetDesc/
X86MachObjectWriter.cpp 133 Type = macho::RIT_X86_64_Unsigned;
142 Type = macho::RIT_X86_64_Branch;
189 Type = macho::RIT_X86_64_Unsigned;
191 macho::RelocationEntry MRE;
208 Type = macho::RIT_X86_64_Subtractor;
268 Type = macho::RIT_X86_64_GOTLoad;
270 Type = macho::RIT_X86_64_GOT;
272 Type = macho::RIT_X86_64_TLV;
276 Type = macho::RIT_X86_64_Signed;
293 case 1: Type = macho::RIT_X86_64_Signed1; break
    [all...]
  /external/swiftshader/third_party/LLVM/test/MC/ARM/
nop-armv4-padding.s 2 @ RUN: macho-dump --dump-section-data < %t.obj > %t.dump
nop-armv6t2-padding.s 2 @ RUN: macho-dump --dump-section-data < %t.obj > %t.dump
thumb2-movt-fixup.s 1 @ RUN: llvm-mc -mcpu=cortex-a8 -triple thumbv7-apple-darwin10 -filetype=obj -o - < %s | macho-dump | FileCheck %s
  /external/google-breakpad/src/common/mac/
file_id.cc 76 MachoID macho(path_);
78 if (macho.UUIDCommand(cpu_type, cpu_subtype, identifier))
81 return macho.MD5(cpu_type, cpu_subtype, identifier);

Completed in 504 milliseconds

1 2 3 4 5