diff options
Diffstat (limited to 'test/Object/Inputs')
28 files changed, 40 insertions, 6 deletions
diff --git a/test/Object/Inputs/COFF/i386.yaml b/test/Object/Inputs/COFF/i386.yaml index f7631821c1923..1badad8d5915b 100644 --- a/test/Object/Inputs/COFF/i386.yaml +++ b/test/Object/Inputs/COFF/i386.yaml @@ -12,17 +12,17 @@ sections: Relocations: - !Relocation VirtualAddress: 0xe - SymbolTableIndex: 5 + SymbolName: L_.str Type: IMAGE_REL_I386_DIR32 - !Relocation VirtualAddress: 0x13 - SymbolTableIndex: 6 + SymbolName: _puts Type: IMAGE_REL_I386_REL32 - !Relocation VirtualAddress: 0x18 - SymbolTableIndex: 7 + SymbolName: _SomeOtherFunction Type: IMAGE_REL_I386_REL32 - !Section diff --git a/test/Object/Inputs/COFF/x86-64.yaml b/test/Object/Inputs/COFF/x86-64.yaml index 5134071cda414..b775ae9cdfbdb 100644 --- a/test/Object/Inputs/COFF/x86-64.yaml +++ b/test/Object/Inputs/COFF/x86-64.yaml @@ -11,17 +11,17 @@ sections: Relocations: - !Relocation VirtualAddress: 0xf - SymbolTableIndex: 5 + SymbolName: L.str Type: IMAGE_REL_AMD64_REL32 - !Relocation VirtualAddress: 0x14 - SymbolTableIndex: 6 + SymbolName: puts Type: IMAGE_REL_AMD64_REL32 - !Relocation VirtualAddress: 0x19 - SymbolTableIndex: 7 + SymbolName: SomeOtherFunction Type: IMAGE_REL_AMD64_REL32 - !Section diff --git a/test/Object/Inputs/ELF/BE32.yaml b/test/Object/Inputs/ELF/BE32.yaml new file mode 100644 index 0000000000000..2a18d6fca7cb4 --- /dev/null +++ b/test/Object/Inputs/ELF/BE32.yaml @@ -0,0 +1,6 @@ +!ELF +FileHeader: !FileHeader + Class: ELFCLASS32 + Data: ELFDATA2MSB + Type: ET_EXEC + Machine: EM_PPC diff --git a/test/Object/Inputs/ELF/BE64.yaml b/test/Object/Inputs/ELF/BE64.yaml new file mode 100644 index 0000000000000..091793f395293 --- /dev/null +++ b/test/Object/Inputs/ELF/BE64.yaml @@ -0,0 +1,6 @@ +!ELF +FileHeader: !FileHeader + Class: ELFCLASS64 + Data: ELFDATA2MSB + Type: ET_EXEC + Machine: EM_PPC64 diff --git a/test/Object/Inputs/ELF/LE32.yaml b/test/Object/Inputs/ELF/LE32.yaml new file mode 100644 index 0000000000000..021fb0d93c2e8 --- /dev/null +++ b/test/Object/Inputs/ELF/LE32.yaml @@ -0,0 +1,6 @@ +!ELF +FileHeader: !FileHeader + Class: ELFCLASS32 + Data: ELFDATA2LSB + Type: ET_EXEC + Machine: EM_386 diff --git a/test/Object/Inputs/ELF/LE64.yaml b/test/Object/Inputs/ELF/LE64.yaml new file mode 100644 index 0000000000000..2fefc0b0c98f3 --- /dev/null +++ b/test/Object/Inputs/ELF/LE64.yaml @@ -0,0 +1,6 @@ +!ELF +FileHeader: !FileHeader + Class: ELFCLASS64 + Data: ELFDATA2LSB + Type: ET_EXEC + Machine: EM_X86_64 diff --git a/test/Object/Inputs/GNU.a b/test/Object/Inputs/GNU.a Binary files differnew file mode 100644 index 0000000000000..4c09881eb39dc --- /dev/null +++ b/test/Object/Inputs/GNU.a diff --git a/test/Object/Inputs/IsNAN.o b/test/Object/Inputs/IsNAN.o Binary files differnew file mode 100644 index 0000000000000..7b3a12a69d747 --- /dev/null +++ b/test/Object/Inputs/IsNAN.o diff --git a/test/Object/Inputs/MacOSX.a b/test/Object/Inputs/MacOSX.a Binary files differnew file mode 100644 index 0000000000000..8ba1e6d30e3df --- /dev/null +++ b/test/Object/Inputs/MacOSX.a diff --git a/test/Object/Inputs/SVR4.a b/test/Object/Inputs/SVR4.a Binary files differnew file mode 100644 index 0000000000000..3947813ac60a7 --- /dev/null +++ b/test/Object/Inputs/SVR4.a diff --git a/test/Object/Inputs/archive-test.a-corrupt-symbol-table b/test/Object/Inputs/archive-test.a-corrupt-symbol-table Binary files differnew file mode 100644 index 0000000000000..34e5ed799d3cc --- /dev/null +++ b/test/Object/Inputs/archive-test.a-corrupt-symbol-table diff --git a/test/Object/Inputs/archive-test.a-empty b/test/Object/Inputs/archive-test.a-empty new file mode 100644 index 0000000000000..8b277f0dd5dcd --- /dev/null +++ b/test/Object/Inputs/archive-test.a-empty @@ -0,0 +1 @@ +!<arch> diff --git a/test/Object/Inputs/archive-test.a-gnu-minimal b/test/Object/Inputs/archive-test.a-gnu-minimal new file mode 100644 index 0000000000000..a243273c484e7 --- /dev/null +++ b/test/Object/Inputs/archive-test.a-gnu-minimal @@ -0,0 +1,2 @@ +!<arch> +test/ 1372964340 1000 1000 100664 0 ` diff --git a/test/Object/Inputs/archive-test.a-gnu-no-symtab b/test/Object/Inputs/archive-test.a-gnu-no-symtab new file mode 100644 index 0000000000000..0a5b237a29100 --- /dev/null +++ b/test/Object/Inputs/archive-test.a-gnu-no-symtab @@ -0,0 +1,5 @@ +!<arch> +// 24 ` +a-very-long-file-name/ + +/0 1372864788 1000 1000 100664 0 ` diff --git a/test/Object/Inputs/coff_archive_short.lib b/test/Object/Inputs/coff_archive_short.lib Binary files differnew file mode 100644 index 0000000000000..41cb1c25d1ef8 --- /dev/null +++ b/test/Object/Inputs/coff_archive_short.lib diff --git a/test/Object/Inputs/corrupt-version.elf-x86_64 b/test/Object/Inputs/corrupt-version.elf-x86_64 Binary files differnew file mode 100644 index 0000000000000..1241a27a7bb63 --- /dev/null +++ b/test/Object/Inputs/corrupt-version.elf-x86_64 diff --git a/test/Object/Inputs/corrupt.elf-x86-64 b/test/Object/Inputs/corrupt.elf-x86-64 Binary files differnew file mode 100644 index 0000000000000..8ae5f1759746b --- /dev/null +++ b/test/Object/Inputs/corrupt.elf-x86-64 diff --git a/test/Object/Inputs/elf-reloc-no-sym.x86_64 b/test/Object/Inputs/elf-reloc-no-sym.x86_64 Binary files differnew file mode 100755 index 0000000000000..a41b4e0d78d99 --- /dev/null +++ b/test/Object/Inputs/elf-reloc-no-sym.x86_64 diff --git a/test/Object/Inputs/evenlen b/test/Object/Inputs/evenlen new file mode 100644 index 0000000000000..59ee8d552e373 --- /dev/null +++ b/test/Object/Inputs/evenlen @@ -0,0 +1 @@ +evenlen diff --git a/test/Object/Inputs/macho-data-in-code.macho-thumbv7 b/test/Object/Inputs/macho-data-in-code.macho-thumbv7 Binary files differnew file mode 100644 index 0000000000000..57649302dd946 --- /dev/null +++ b/test/Object/Inputs/macho-data-in-code.macho-thumbv7 diff --git a/test/Object/Inputs/macho-universal.x86_64.i386 b/test/Object/Inputs/macho-universal.x86_64.i386 Binary files differnew file mode 100755 index 0000000000000..36d5fc29d6819 --- /dev/null +++ b/test/Object/Inputs/macho-universal.x86_64.i386 diff --git a/test/Object/Inputs/oddlen b/test/Object/Inputs/oddlen new file mode 100644 index 0000000000000..8cf5bd181b1bf --- /dev/null +++ b/test/Object/Inputs/oddlen @@ -0,0 +1 @@ +oddlen diff --git a/test/Object/Inputs/program-headers.mips b/test/Object/Inputs/program-headers.mips Binary files differnew file mode 100755 index 0000000000000..54ebfea31f0c6 --- /dev/null +++ b/test/Object/Inputs/program-headers.mips diff --git a/test/Object/Inputs/trivial-executable-test.macho-x86-64 b/test/Object/Inputs/trivial-executable-test.macho-x86-64 Binary files differnew file mode 100755 index 0000000000000..50a6bab64c47a --- /dev/null +++ b/test/Object/Inputs/trivial-executable-test.macho-x86-64 diff --git a/test/Object/Inputs/trivial-object-test2.elf-x86-64 b/test/Object/Inputs/trivial-object-test2.elf-x86-64 Binary files differnew file mode 100644 index 0000000000000..9124518bd92e3 --- /dev/null +++ b/test/Object/Inputs/trivial-object-test2.elf-x86-64 diff --git a/test/Object/Inputs/very_long_bytecode_file_name.bc b/test/Object/Inputs/very_long_bytecode_file_name.bc Binary files differnew file mode 100644 index 0000000000000..f7fce249020a0 --- /dev/null +++ b/test/Object/Inputs/very_long_bytecode_file_name.bc diff --git a/test/Object/Inputs/weak-global-symbol.macho-i386 b/test/Object/Inputs/weak-global-symbol.macho-i386 Binary files differnew file mode 100644 index 0000000000000..a9c8e0cde1563 --- /dev/null +++ b/test/Object/Inputs/weak-global-symbol.macho-i386 diff --git a/test/Object/Inputs/xpg4.a b/test/Object/Inputs/xpg4.a Binary files differnew file mode 100644 index 0000000000000..b2bdb51188fec --- /dev/null +++ b/test/Object/Inputs/xpg4.a |