/external/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...] |
MachO.h | 1 //===- MachO.h - MachO object file implementation ---------------*- C++ -*-===// 20 #include "llvm/Support/MachO.h" 114 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/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/llvm/lib/ExecutionEngine/RuntimeDyld/ |
RuntimeDyldMachO.cpp | 90 case macho::RIT_Vanilla: { 98 case macho::RIT_Difference: 99 case macho::RIT_Generic_LocalDifference: 100 case macho::RIT_Generic_PreboundLazyPointer: 123 case macho::RIT_X86_64_Signed1: 124 case macho::RIT_X86_64_Signed2: 125 case macho::RIT_X86_64_Signed4: 126 case macho::RIT_X86_64_Signed: 127 case macho::RIT_X86_64_Unsigned: 128 case macho::RIT_X86_64_Branch: [all...] |
/external/chromium/build/mac/ |
strip_save_dsym | 45 def macho_archs(macho): 51 file_cmd = subprocess.Popen(["/usr/bin/file", "-b", "--", macho], 77 print >> sys.stderr, "No architectures in %s" % macho 85 def macho_uuids(macho): 88 archs = macho_archs(macho) 97 macho], 169 print >> sys.stderr, "No UUIDs in %s" % macho 175 def dsym_path(macho): 187 dsym = macho 193 # Creates a fake .dSYM bundle at dsym for macho, a Mach-O image with th [all...] |
/external/llvm/lib/Object/ |
MachOObject.cpp | 113 unsigned HeaderSize = Is64Bit ? macho::Header64Size : macho::Header32Size; 136 void MachOObject::RegisterStringTable(macho::SymtabLoadCommand &SLC) { 158 sizeof(macho::LoadCommand)); 171 void SwapStruct(macho::SegmentLoadCommand &Value) { 184 InMemoryStruct<macho::SegmentLoadCommand> &Res) const { 189 void SwapStruct(macho::Segment64LoadCommand &Value) { 202 InMemoryStruct<macho::Segment64LoadCommand> &Res) const { 207 void SwapStruct(macho::SymtabLoadCommand &Value) { 216 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; 130 InMemoryStruct<macho::Symbol64TableEntry> Entry [all...] |
/external/llvm/lib/Target/ARM/MCTargetDesc/ |
ARMMachObjectWriter.cpp | 59 RelocType = unsigned(macho::RIT_Vanilla); 88 RelocType = unsigned(macho::RIT_ARM_Branch24Bit); 95 RelocType = unsigned(macho::RIT_ARM_ThumbBranch22Bit); 102 RelocType = unsigned(macho::RIT_ARM_ThumbBranch22Bit); 117 RelocType = unsigned(macho::RIT_ARM_Half); 122 RelocType = unsigned(macho::RIT_ARM_Half); 128 RelocType = unsigned(macho::RIT_ARM_Half); 133 RelocType = unsigned(macho::RIT_ARM_Half); 149 unsigned Type = macho::RIT_ARM_Half; 175 Type = macho::RIT_ARM_HalfDifference [all...] |
/external/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/llvm/test/MC/MachO/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
|
relax-thumb-ldr-literal.s | 2 @ RUN: macho-dump --dump-section-data < %t.obj > %t.dump
|
relax-thumb2-branches.s | 1 @ RUN: llvm-mc -triple=thumbv7-apple-darwin -show-encoding %s -filetype=obj -o - | macho-dump --dump-section-data | FileCheck %s
|
thumb2-function-relative-load.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
|
nop-thumb-padding.s | 2 @ RUN: macho-dump --dump-section-data < %t.obj > %t.dump
|
nop-thumb2-padding.s | 2 @ RUN: macho-dump --dump-section-data < %t.obj > %t.dump
|
no-subsections-reloc.s | 2 @ RUN: macho-dump --dump-section-data < %t.obj > %t.dump
|
static-movt-relocs.s | 1 @ RUN: llvm-mc -mcpu=cortex-a8 -triple thumbv7-apple-darwin10 -filetype=obj -o - < %s | macho-dump | FileCheck %s
|
darwin-Thumb-reloc.s | 2 @ RUN: macho-dump --dump-section-data < %t.obj > %t.dump
|
/external/llvm/lib/MC/ |
MachObjectWriter.cpp | 116 Flags |= macho::HF_SubsectionsViaSymbols; 124 Write32(is64Bit() ? macho::HM_Object64 : macho::HM_Object32); 129 Write32(macho::HFT_Object); 137 (is64Bit() ? macho::Header64Size : macho::Header32Size)); 155 is64Bit() ? macho::SegmentLoadCommand64Size: 156 macho::SegmentLoadCommand32Size; 157 Write32(is64Bit() ? macho::LCT_Segment64 : macho::LCT_Segment) [all...] |
/external/llvm/tools/ |
Makefile | 35 llvm-diff macho-dump llvm-objdump llvm-readobj \
|
/external/llvm/include/llvm/MC/ |
MCMachObjectWriter.h | 94 std::vector<object::macho::RelocationEntry> > Relocations; 197 object::macho::RelocationEntry &MRE) {
|
/external/llvm/tools/llvm-objdump/ |
MachODump.cpp | 10 // This file implements the MachO-specific dumper for llvm-objdump. 16 #include "llvm/Support/MachO.h" 17 #include "llvm/Object/MachO.h" 47 "write it to a graphviz file (MachO-only)")); 60 case llvm::MachO::CPUTypeI386: 63 case llvm::MachO::CPUTypeX86_64: 66 case llvm::MachO::CPUTypeARM: 69 case llvm::MachO::CPUTypePowerPC: 72 case llvm::MachO::CPUTypePowerPC64: 202 static void getSectionsAndSymbols(const macho::Header &Header [all...] |