/external/llvm/test/Object/ |
D | nm-trivial-object.test | 19 RUN: llvm-nm %p/Inputs/trivial-object-test.macho-i386 \ 20 RUN: | FileCheck %s -check-prefix macho 21 RUN: llvm-nm -U %p/Inputs/trivial-object-test.macho-i386 \ 22 RUN: | FileCheck %s -check-prefix macho-U 23 RUN: llvm-nm %p/Inputs/trivial-object-test.macho-x86-64 \ 25 RUN: llvm-nm %p/Inputs/macho-text-data-bss.macho-x86_64 \ 26 RUN: | FileCheck %s -check-prefix macho-tdb 27 RUN: llvm-nm -j %p/Inputs/macho-text-data-bss.macho-x86_64 \ 28 RUN: | FileCheck %s -check-prefix macho-j 29 RUN: llvm-nm -r %p/Inputs/macho-text-data-bss.macho-x86_64 \ [all …]
|
D | macho-invalid.test | 4 RUN: llvm-objdump -private-headers %p/Inputs/macho-invalid-zero-ncmds -macho \ 8 RUN: not llvm-objdump -macho -private-headers %p/Inputs/macho64-invalid-incomplete-load-command 2>&… 12 RUN: not llvm-objdump -macho -private-headers %p/Inputs/macho64-invalid-incomplete-load-command.1 2… 16 RUN: not llvm-objdump -macho -private-headers %p/Inputs/macho-invalid-too-small-load-command 2>&1 \ 18 RUN: not llvm-objdump -macho -private-headers %p/Inputs/macho64-invalid-too-small-load-command 2>&1… 22 RUN: not llvm-objdump -macho -private-headers %p/Inputs/macho64-invalid-too-small-load-command.1 2>… 26 RUN: not llvm-objdump -private-headers %p/Inputs/macho-invalid-too-small-segment-load-command 2>&1 \ 30 RUN: not llvm-objdump -private-headers %p/Inputs/macho-invalid-too-small-segment-load-command.1 2>&… 38 RUN: not llvm-objdump -private-headers %p/Inputs/macho-invalid-no-size-for-sections 2>&1 \ 45 RUN: not llvm-objdump -macho -t %p/Inputs/macho-invalid-bad-symbol-index 2>&1 \ [all …]
|
D | nm-universal-binary.test | 1 RUN: llvm-nm -arch all %p/Inputs/macho-universal.x86_64.i386 \ 3 RUN: llvm-nm -arch all %p/Inputs/macho-universal64.x86_64.i386 \ 5 RUN: llvm-nm -arch x86_64 %p/Inputs/macho-universal.x86_64.i386 \ 7 RUN: not llvm-nm -arch armv7m %p/Inputs/macho-universal.x86_64.i386 2>&1 \ 9 RUN: not llvm-nm -arch foobar %p/Inputs/macho-universal.x86_64.i386 2>&1 \ 11 RUN: llvm-nm -arch all %p/Inputs/macho-universal-archive.x86_64.i386 \ 13 RUN: llvm-nm -arch all %p/Inputs/macho-universal64-archive.x86_64.i386 \ 15 RUN: llvm-nm -arch i386 %p/Inputs/macho-universal-archive.x86_64.i386 \ 17 RUN: llvm-nm -o -arch all %p/Inputs/macho-universal-archive.x86_64.i386 \ 20 CHECK-OBJ: macho-universal.x86_64.i386 (for architecture x86_64): [all …]
|
D | size-trivial-macho.test | 1 RUN: llvm-size -A %p/Inputs/macho-text-data-bss.macho-x86_64 \ 3 RUN: llvm-size -B %p/Inputs/macho-text-data-bss.macho-x86_64 \ 5 RUN: llvm-size -format darwin %p/Inputs/macho-text-data-bss.macho-x86_64 \ 7 RUN: llvm-size %p/Inputs/macho-archive-x86_64.a \ 9 RUN: llvm-size -format darwin %p/Inputs/macho-archive-x86_64.a \ 11 RUN: llvm-size -m -x -l %p/Inputs/hello-world.macho-x86_64 \ 13 RUN: llvm-size -arch all %p/Inputs/macho-universal.x86_64.i386 \ 15 RUN: llvm-size -arch i386 %p/Inputs/macho-universal.x86_64.i386 \ 17 RUN: llvm-size -arch all %p/Inputs/macho-universal-archive.x86_64.i386 \ 19 RUN: llvm-size -arch x86_64 %p/Inputs/macho-universal-archive.x86_64.i386 \ [all …]
|
D | objdump-symbol-table.test | 5 RUN: llvm-objdump -t %p/Inputs/trivial-object-test.macho-i386 \ 6 RUN: | FileCheck %s -check-prefix macho-i386 31 macho-i386: trivial-object-test.macho-i386: file format Mach-O 32-bit i386 32 macho-i386: SYMBOL TABLE: 33 macho-i386: 00000000 g F __TEXT,__text _main 34 macho-i386: 00000000 *UND* _SomeOtherFunction 35 macho-i386: 00000000 *UND* _puts
|
/external/llvm/test/tools/dsymutil/X86/ |
D | multiple-inputs.test | 4 RUN: cat %p/../Inputs/basic.macho.x86_64 > %T/multiple-inputs/basic.macho.x86_64 5 RUN: cat %p/../Inputs/basic-archive.macho.x86_64 > %T/multiple-inputs/basic-archive.macho.x86_64 6 RUN: cat %p/../Inputs/basic-lto.macho.x86_64 > %T/multiple-inputs/basic-lto.macho.x86_64 7 RUN: cat %p/../Inputs/basic-lto-dw4.macho.x86_64 > %T/multiple-inputs/basic-lto-dw4.macho.x86_64 10 …/basic.macho.x86_64 %T/multiple-inputs/basic-archive.macho.x86_64 %T/multiple-inputs/basic-lto.mac… 11 RUN: llvm-dwarfdump %T/multiple-inputs/basic.macho.x86_64.dwarf \ 13 RUN: llvm-dwarfdump %T/multiple-inputs/basic-archive.macho.x86_64.dwarf \ 15 RUN: llvm-dwarfdump %T/multiple-inputs/basic-lto.macho.x86_64.dwarf | FileCheck %S/basic-lto-linkin… 16 RUN: llvm-dwarfdump %T/multiple-inputs/basic-lto-dw4.macho.x86_64.dwarf | FileCheck %S/basic-lto-dw… 19 …/basic.macho.x86_64 %T/multiple-inputs/basic-archive.macho.x86_64 %T/multiple-inputs/basic-lto.mac… [all …]
|
D | basic-linking-bundle.test | 3 RUN: cat %p/../Inputs/basic.macho.x86_64 > %T/basic-linking-bundle/basic.macho.x86_64 5 RUN: llvm-dsymutil -oso-prepend-path=%p/.. %T/basic-linking-bundle/basic.macho.x86_64 8 …UN: llvm-dwarfdump %T/basic-linking-bundle/basic.macho.x86_64.dSYM/Contents/Resources/DWARF/basic.… 11 RUN: llvm-dwarfdump %T/basic-linking-bundle/basic.macho.x86_64.dSYM | FileCheck %S/basic-linking-x8… 13 RUN: FileCheck %s --input-file %T/basic-linking-bundle/basic.macho.x86_64.dSYM/Contents/Info.plist 15 …pend-path=%p/.. %T/basic-linking-bundle/basic.macho.x86_64 -o %T/basic-linking-bundle/dsymdest/bas… 16 …dwarfdump %T/basic-linking-bundle/dsymdest/basic.macho.x86_64.dSYM/Contents/Resources/DWARF/basic.… 17 RUN: FileCheck %s --input-file %T/basic-linking-bundle/dsymdest/basic.macho.x86_64.dSYM/Contents/In… 26 CHECK-NEXT: <string>com.apple.xcode.dsym.basic.macho.x86_64</string>
|
/external/swiftshader/third_party/LLVM/include/llvm/Object/ |
D | MachOObject.h | 49 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 …]
|
/external/swiftshader/third_party/LLVM/lib/Object/ |
D | MachOObjectFile.cpp | 62 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() 132 InMemoryStruct<macho::Symbol64TableEntry> Entry; in getSymbolOffset() 137 InMemoryStruct<macho::SymbolTableEntry> Entry; in getSymbolOffset() [all …]
|
D | MachOObject.cpp | 112 unsigned HeaderSize = Is64Bit ? macho::Header64Size : macho::Header32Size; in LoadFromBuffer() 135 void MachOObject::RegisterStringTable(macho::SymtabLoadCommand &SLC) { in RegisterStringTable() 157 sizeof(macho::LoadCommand)); in getLoadCommandInfo() 170 void SwapStruct(macho::SegmentLoadCommand &Value) { in SwapStruct() 183 InMemoryStruct<macho::SegmentLoadCommand> &Res) const { in ReadSegmentLoadCommand() 188 void SwapStruct(macho::Segment64LoadCommand &Value) { in SwapStruct() 201 InMemoryStruct<macho::Segment64LoadCommand> &Res) const { in ReadSegment64LoadCommand() 206 void SwapStruct(macho::SymtabLoadCommand &Value) { in SwapStruct() 215 InMemoryStruct<macho::SymtabLoadCommand> &Res) const { in ReadSymtabLoadCommand() 220 void SwapStruct(macho::DysymtabLoadCommand &Value) { in SwapStruct() [all …]
|
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyldMachO.cpp | 54 case macho::RIT_X86_64_Unsigned: in resolveX86_64Relocation() 55 case macho::RIT_X86_64_Branch: { in resolveX86_64Relocation() 65 case macho::RIT_X86_64_Signed: in resolveX86_64Relocation() 66 case macho::RIT_X86_64_GOTLoad: in resolveX86_64Relocation() 67 case macho::RIT_X86_64_GOT: in resolveX86_64Relocation() 68 case macho::RIT_X86_64_Subtractor: in resolveX86_64Relocation() 69 case macho::RIT_X86_64_Signed1: in resolveX86_64Relocation() 70 case macho::RIT_X86_64_Signed2: in resolveX86_64Relocation() 71 case macho::RIT_X86_64_Signed4: in resolveX86_64Relocation() 72 case macho::RIT_X86_64_TLV: in resolveX86_64Relocation() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/ARM/MCTargetDesc/ |
D | ARMMachObjectWriter.cpp | 57 RelocType = unsigned(macho::RIT_Vanilla); in getARMFixupKindMachOInfo() 83 RelocType = unsigned(macho::RIT_ARM_Branch24Bit); in getARMFixupKindMachOInfo() 90 RelocType = unsigned(macho::RIT_ARM_ThumbBranch22Bit); in getARMFixupKindMachOInfo() 97 RelocType = unsigned(macho::RIT_ARM_ThumbBranch22Bit); in getARMFixupKindMachOInfo() 105 RelocType = unsigned(macho::RIT_ARM_HalfDifference); in getARMFixupKindMachOInfo() 114 RelocType = unsigned(macho::RIT_ARM_Half); in getARMFixupKindMachOInfo() 131 unsigned Type = macho::RIT_ARM_Half; in RecordARMMovwMovtRelocation() 155 Type = macho::RIT_ARM_HalfDifference; in RecordARMMovwMovtRelocation() 193 if (Type == macho::RIT_ARM_HalfDifference) { in RecordARMMovwMovtRelocation() 197 macho::RelocationEntry MRE; in RecordARMMovwMovtRelocation() [all …]
|
/external/llvm/test/tools/llvm-objdump/X86/ |
D | malformed-machos.test | 4 # RUN: llvm-objdump -macho -objc-meta-data \ 5 # RUN: %p/Inputs/malformed-machos/mem-crup-0001.macho \ 10 # RUN: llvm-objdump -macho -objc-meta-data \ 11 # RUN: %p/Inputs/malformed-machos/mem-crup-0006.macho \ 16 # RUN: llvm-objdump -macho -objc-meta-data \ 17 # RUN: %p/Inputs/malformed-machos/mem-crup-0006.macho \ 22 # RUN: llvm-objdump -macho -objc-meta-data \ 23 # RUN: %p/Inputs/malformed-machos/mem-crup-0040.macho \ 28 # RUN: llvm-objdump -macho -objc-meta-data \ 29 # RUN: %p/Inputs/malformed-machos/mem-crup-0080.macho \ [all …]
|
D | macho-archive-headers.test | 1 RUN: llvm-objdump %p/Inputs/macho-universal-archive.x86_64.i386 -macho -archive-headers -arch all \ 3 RUN: llvm-objdump %p/Inputs/macho-universal-archive.x86_64.i386 -macho -archive-headers -arch all -… 5 RUN: llvm-objdump %p/Inputs/macho-universal-archive.x86_64.i386 -macho -archive-headers -arch all -… 9 CHECK: Archive : {{.*}}/macho-universal-archive.x86_64.i386 (architecture x86_64) 12 CHECK: Archive : {{.*}}/macho-universal-archive.x86_64.i386 (architecture i386) 16 OFFSETS: Archive : {{.*}}/macho-universal-archive.x86_64.i386 (architecture x86_64) 19 OFFSETS: Archive : {{.*}}/macho-universal-archive.x86_64.i386 (architecture i386) 23 NON-VERBOSE: Archive : {{.*}}/macho-universal-archive.x86_64.i386 (architecture x86_64) 26 NON-VERBOSE: Archive : {{.*}}/macho-universal-archive.x86_64.i386 (architecture i386)
|
D | macho-universal-x86_64.i386.test | 1 RUN: llvm-objdump %p/Inputs/macho-universal.x86_64.i386 -d -m -no-show-raw-insn -full-leading-addr … 3 RUN: llvm-objdump %p/Inputs/macho-universal-archive.x86_64.i386 -d -m -no-show-raw-insn -full-leadi… 5 RUN: llvm-objdump %p/Inputs/macho-universal.x86_64.i386 -universal-headers -m \ 7 RUN: llvm-objdump %p/Inputs/macho-universal.x86_64.i386 -universal-headers -m \ 9 RUN: llvm-objdump %p/Inputs/macho-universal64.x86_64.i386 -universal-headers \ 12 UEXE-all: macho-universal.x86_64.i386 (architecture x86_64): 17 UEXE-all: macho-universal.x86_64.i386 (architecture i386): 23 UArchive-i386: Archive : {{.*}}/macho-universal-archive.x86_64.i386 24 UArchive-i386: macho-universal-archive.x86_64.i386(foo.o):
|
/external/swiftshader/third_party/LLVM/lib/Target/X86/MCTargetDesc/ |
D | X86MachObjectWriter.cpp | 133 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/swiftshader/third_party/LLVM/lib/MC/ |
D | MachObjectWriter.cpp | 116 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/test/tools/dsymutil/ |
D | debug-map-parsing.test | 1 RUN: llvm-dsymutil -dump-debug-map -oso-prepend-path=%p %p/Inputs/basic.macho.x86_64 | FileCheck %s 2 RUN: llvm-dsymutil -dump-debug-map -oso-prepend-path=%p %p/Inputs/basic-lto.macho.x86_64 | FileChec… 3 RUN: llvm-dsymutil -verbose -dump-debug-map -oso-prepend-path=%p %p/Inputs/basic-archive.macho.x86_… 4 RUN: llvm-dsymutil -dump-debug-map %p/Inputs/basic.macho.x86_64 2>&1 | FileCheck %s --check-prefix=… 13 CHECK: binary-path:{{.*}}/Inputs/basic.macho.x86_64 14 CHECK: filename:{{.*}}/Inputs/basic1.macho.x86_64.o 16 CHECK: filename{{.*}}/Inputs/basic2.macho.x86_64.o 21 CHECK: filename{{.*}}/Inputs/basic3.macho.x86_64.o 33 CHECK-LTO: binary-path:{{.*}}/Inputs/basic-lto.macho.x86_64 34 CHECK-LTO: /Inputs/basic-lto.macho.x86_64.o [all …]
|
D | yaml-object-address-rewrite.test | 3 # The YAML debug map bellow is the one from basic-archive.macho.x86_64 with 11 # CHECK-NEXT: filename:{{.*}}/Inputs/basic1.macho.x86_64.o 15 # CHECK-NEXT: filename:{{.*}}/Inputs/./libbasic.a(basic2.macho.x86_64.o)' 23 # CHECK-NEXT: filename:{{.*}}/Inputs/./libbasic.a(basic3.macho.x86_64.o)' 34 - filename: /Inputs/basic1.macho.x86_64.o 37 - filename: /Inputs/./libbasic.a(basic2.macho.x86_64.o) 43 - filename: /Inputs/./libbasic.a(basic3.macho.x86_64.o)
|
/external/llvm/test/tools/llvm-objdump/ |
D | macho-sections.test | 1 # RUN: llvm-objdump -macho -section=__data %p/Inputs/bind2.macho-x86_64 | FileCheck %s 3 # CHECK: bind2.macho-x86_64: 5 # RUN: llvm-objdump -macho -section=__data %p/Inputs/section.macho-armv7 | FileCheck -check-prefix … 9 # RUN: llvm-objdump -macho -section=__const %p/Inputs/section.macho-armv7 | FileCheck -check-prefix…
|
/external/swiftshader/third_party/LLVM/tools/macho-dump/ |
D | macho-dump.cpp | 98 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 …]
|
/external/llvm/test/DebugInfo/ |
D | debuglineinfo-macho.test | 2 RUN: llvm-dwarfdump %p/Inputs/test-simple-macho.o | FileCheck %s 3 RUN: llvm-dwarfdump %p/Inputs/test-multiple-macho.o | FileCheck %s 4 RUN: llvm-rtdyld -printline %p/Inputs/test-multiple-macho.o | FileCheck %s 5 RUN: llvm-rtdyld -printobjline %p/Inputs/test-multiple-macho.o | FileCheck %s 10 RUN: llvm-rtdyld -printobjline %p/Inputs/test-simple-macho.o \ 12 RUN: llvm-rtdyld -printline %p/Inputs/test-simple-macho.o \ 14 RUN: llvm-rtdyld -printobjline %p/Inputs/test-multiple-macho.o \ 16 RUN: llvm-rtdyld -printline %p/Inputs/test-multiple-macho.o \
|
D | dwarfdump-macho-relocs.test | 1 // RUN: llvm-dwarfdump -debug-dump=info %p/Inputs/dwarfdump-macho-relocs.macho.x86_64.o | FileCheck… 6 // Compiled with: clang -x c -g -c -o dwarfdump-macho-relocs.macho.x86_64.o dwarfdump-macho-relocs.…
|
/external/llvm/test/LTO/X86/ |
D | bcsection.ll | 13 …T -filetype=obj -triple=x86_64-apple-darwin11 -o %T/bcsection.macho.bco %p/Inputs/bcsection.macho.s 14 ; RUN: llvm-nm %T/bcsection.macho.bco | FileCheck %s 15 …lvm-lto -exported-symbol=main -exported-symbol=_main -o %T/bcsection.macho.o %T/bcsection.macho.bco 16 ; RUN: llvm-nm %T/bcsection.macho.o | FileCheck %s
|
/external/llvm/test/tools/llvm-nm/X86/ |
D | posixArchiveMachO.test | 1 # RUN: llvm-nm -P -A %p/Inputs/libExample.a.macho-x86_64 | FileCheck %s 3 # CHECK: libExample.a.macho-x86_64[example.o]: EH_frame0 s 30 0 4 # CHECK: libExample.a.macho-x86_64[example.o]: _f T 0 0 5 # CHECK: libExample.a.macho-x86_64[example.o]: _f.eh S 48 0
|