From be7a772a5617ccb3960fc7a5c3fb45fb4168d7d9 Mon Sep 17 00:00:00 2001 From: Matt Beaumont-Gay Date: Mon, 31 Oct 2011 23:46:38 +0000 Subject: Rename "TestObjectFiles" to "Inputs" (like the pattern for Clang tests) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143400 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Object/Inputs/archive-test.a-coff-i386 | Bin 0 -> 658 bytes test/Object/Inputs/trivial-object-test.coff-i386 | Bin 0 -> 346 bytes test/Object/Inputs/trivial-object-test.coff-x86-64 | Bin 0 -> 347 bytes test/Object/Inputs/trivial-object-test.elf-i386 | Bin 0 -> 716 bytes test/Object/Inputs/trivial-object-test.elf-x86-64 | Bin 0 -> 1024 bytes test/Object/Inputs/trivial-object-test.macho-i386 | Bin 0 -> 552 bytes test/Object/Inputs/trivial-object-test.macho-x86-64 | Bin 0 -> 552 bytes test/Object/Inputs/trivial.ll | 12 ++++++++++++ test/Object/TestObjectFiles/archive-test.a-coff-i386 | Bin 658 -> 0 bytes .../Object/TestObjectFiles/trivial-object-test.coff-i386 | Bin 346 -> 0 bytes .../TestObjectFiles/trivial-object-test.coff-x86-64 | Bin 347 -> 0 bytes test/Object/TestObjectFiles/trivial-object-test.elf-i386 | Bin 716 -> 0 bytes .../TestObjectFiles/trivial-object-test.elf-x86-64 | Bin 1024 -> 0 bytes .../TestObjectFiles/trivial-object-test.macho-i386 | Bin 552 -> 0 bytes .../TestObjectFiles/trivial-object-test.macho-x86-64 | Bin 552 -> 0 bytes test/Object/TestObjectFiles/trivial.ll | 12 ------------ 16 files changed, 12 insertions(+), 12 deletions(-) create mode 100644 test/Object/Inputs/archive-test.a-coff-i386 create mode 100644 test/Object/Inputs/trivial-object-test.coff-i386 create mode 100644 test/Object/Inputs/trivial-object-test.coff-x86-64 create mode 100644 test/Object/Inputs/trivial-object-test.elf-i386 create mode 100644 test/Object/Inputs/trivial-object-test.elf-x86-64 create mode 100644 test/Object/Inputs/trivial-object-test.macho-i386 create mode 100644 test/Object/Inputs/trivial-object-test.macho-x86-64 create mode 100644 test/Object/Inputs/trivial.ll delete mode 100644 test/Object/TestObjectFiles/archive-test.a-coff-i386 delete mode 100644 test/Object/TestObjectFiles/trivial-object-test.coff-i386 delete mode 100644 test/Object/TestObjectFiles/trivial-object-test.coff-x86-64 delete mode 100644 test/Object/TestObjectFiles/trivial-object-test.elf-i386 delete mode 100644 test/Object/TestObjectFiles/trivial-object-test.elf-x86-64 delete mode 100644 test/Object/TestObjectFiles/trivial-object-test.macho-i386 delete mode 100644 test/Object/TestObjectFiles/trivial-object-test.macho-x86-64 delete mode 100644 test/Object/TestObjectFiles/trivial.ll (limited to 'test/Object') diff --git a/test/Object/Inputs/archive-test.a-coff-i386 b/test/Object/Inputs/archive-test.a-coff-i386 new file mode 100644 index 0000000..846cd63 Binary files /dev/null and b/test/Object/Inputs/archive-test.a-coff-i386 differ diff --git a/test/Object/Inputs/trivial-object-test.coff-i386 b/test/Object/Inputs/trivial-object-test.coff-i386 new file mode 100644 index 0000000..8cfd994 Binary files /dev/null and b/test/Object/Inputs/trivial-object-test.coff-i386 differ diff --git a/test/Object/Inputs/trivial-object-test.coff-x86-64 b/test/Object/Inputs/trivial-object-test.coff-x86-64 new file mode 100644 index 0000000..0775914 Binary files /dev/null and b/test/Object/Inputs/trivial-object-test.coff-x86-64 differ diff --git a/test/Object/Inputs/trivial-object-test.elf-i386 b/test/Object/Inputs/trivial-object-test.elf-i386 new file mode 100644 index 0000000..1a0ea40 Binary files /dev/null and b/test/Object/Inputs/trivial-object-test.elf-i386 differ diff --git a/test/Object/Inputs/trivial-object-test.elf-x86-64 b/test/Object/Inputs/trivial-object-test.elf-x86-64 new file mode 100644 index 0000000..889f5d9 Binary files /dev/null and b/test/Object/Inputs/trivial-object-test.elf-x86-64 differ diff --git a/test/Object/Inputs/trivial-object-test.macho-i386 b/test/Object/Inputs/trivial-object-test.macho-i386 new file mode 100644 index 0000000..099bd1e Binary files /dev/null and b/test/Object/Inputs/trivial-object-test.macho-i386 differ diff --git a/test/Object/Inputs/trivial-object-test.macho-x86-64 b/test/Object/Inputs/trivial-object-test.macho-x86-64 new file mode 100644 index 0000000..93eeb5d Binary files /dev/null and b/test/Object/Inputs/trivial-object-test.macho-x86-64 differ diff --git a/test/Object/Inputs/trivial.ll b/test/Object/Inputs/trivial.ll new file mode 100644 index 0000000..25ece76 --- /dev/null +++ b/test/Object/Inputs/trivial.ll @@ -0,0 +1,12 @@ +@.str = private unnamed_addr constant [13 x i8] c"Hello World\0A\00", align 1 + +define i32 @main() nounwind { +entry: + %call = tail call i32 @puts(i8* getelementptr inbounds ([13 x i8]* @.str, i32 0, i32 0)) nounwind + tail call void bitcast (void (...)* @SomeOtherFunction to void ()*)() nounwind + ret i32 0 +} + +declare i32 @puts(i8* nocapture) nounwind + +declare void @SomeOtherFunction(...) diff --git a/test/Object/TestObjectFiles/archive-test.a-coff-i386 b/test/Object/TestObjectFiles/archive-test.a-coff-i386 deleted file mode 100644 index 846cd63..0000000 Binary files a/test/Object/TestObjectFiles/archive-test.a-coff-i386 and /dev/null differ diff --git a/test/Object/TestObjectFiles/trivial-object-test.coff-i386 b/test/Object/TestObjectFiles/trivial-object-test.coff-i386 deleted file mode 100644 index 8cfd994..0000000 Binary files a/test/Object/TestObjectFiles/trivial-object-test.coff-i386 and /dev/null differ diff --git a/test/Object/TestObjectFiles/trivial-object-test.coff-x86-64 b/test/Object/TestObjectFiles/trivial-object-test.coff-x86-64 deleted file mode 100644 index 0775914..0000000 Binary files a/test/Object/TestObjectFiles/trivial-object-test.coff-x86-64 and /dev/null differ diff --git a/test/Object/TestObjectFiles/trivial-object-test.elf-i386 b/test/Object/TestObjectFiles/trivial-object-test.elf-i386 deleted file mode 100644 index 1a0ea40..0000000 Binary files a/test/Object/TestObjectFiles/trivial-object-test.elf-i386 and /dev/null differ diff --git a/test/Object/TestObjectFiles/trivial-object-test.elf-x86-64 b/test/Object/TestObjectFiles/trivial-object-test.elf-x86-64 deleted file mode 100644 index 889f5d9..0000000 Binary files a/test/Object/TestObjectFiles/trivial-object-test.elf-x86-64 and /dev/null differ diff --git a/test/Object/TestObjectFiles/trivial-object-test.macho-i386 b/test/Object/TestObjectFiles/trivial-object-test.macho-i386 deleted file mode 100644 index 099bd1e..0000000 Binary files a/test/Object/TestObjectFiles/trivial-object-test.macho-i386 and /dev/null differ diff --git a/test/Object/TestObjectFiles/trivial-object-test.macho-x86-64 b/test/Object/TestObjectFiles/trivial-object-test.macho-x86-64 deleted file mode 100644 index 93eeb5d..0000000 Binary files a/test/Object/TestObjectFiles/trivial-object-test.macho-x86-64 and /dev/null differ diff --git a/test/Object/TestObjectFiles/trivial.ll b/test/Object/TestObjectFiles/trivial.ll deleted file mode 100644 index 25ece76..0000000 --- a/test/Object/TestObjectFiles/trivial.ll +++ /dev/null @@ -1,12 +0,0 @@ -@.str = private unnamed_addr constant [13 x i8] c"Hello World\0A\00", align 1 - -define i32 @main() nounwind { -entry: - %call = tail call i32 @puts(i8* getelementptr inbounds ([13 x i8]* @.str, i32 0, i32 0)) nounwind - tail call void bitcast (void (...)* @SomeOtherFunction to void ()*)() nounwind - ret i32 0 -} - -declare i32 @puts(i8* nocapture) nounwind - -declare void @SomeOtherFunction(...) -- cgit v1.1