summaryrefslogtreecommitdiffstats
path: root/llvm/test/Object/extract.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Object/extract.ll')
-rw-r--r--llvm/test/Object/extract.ll16
1 files changed, 16 insertions, 0 deletions
diff --git a/llvm/test/Object/extract.ll b/llvm/test/Object/extract.ll
new file mode 100644
index 00000000000..ab2bcc624bf
--- /dev/null
+++ b/llvm/test/Object/extract.ll
@@ -0,0 +1,16 @@
+; This isn't really an assembly file, its just here to run the test.
+
+; This test just makes sure that llvm-ar can extract bytecode members
+; from various style archives.
+
+; RUN: llvm-ar p %p/Inputs/GNU.a very_long_bytecode_file_name.bc | \
+; RUN: cmp -s %p/Inputs/very_long_bytecode_file_name.bc -
+
+; RUN: llvm-ar p %p/Inputs/MacOSX.a very_long_bytecode_file_name.bc | \
+; RUN: cmp -s %p/Inputs/very_long_bytecode_file_name.bc -
+
+; RUN: llvm-ar p %p/Inputs/SVR4.a very_long_bytecode_file_name.bc | \
+; RUN: cmp -s %p/Inputs/very_long_bytecode_file_name.bc -
+
+; RUN: llvm-ar p %p/Inputs/xpg4.a very_long_bytecode_file_name.bc |\
+; RUN: cmp -s %p/Inputs/very_long_bytecode_file_name.bc -
OpenPOWER on IntegriCloud