diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-07-10 21:47:16 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-07-10 21:47:16 +0000 |
commit | 6911911e614c1da1957af5518a15c5605657b4e2 (patch) | |
tree | fa2f83f1bb63b389504c7487a21cc4f4e31bf6b0 /test/Object/extract.ll | |
parent | f03fb232671b6a7d0deed602a702e25d3305acc9 (diff) | |
download | external_llvm-6911911e614c1da1957af5518a15c5605657b4e2.zip external_llvm-6911911e614c1da1957af5518a15c5605657b4e2.tar.gz external_llvm-6911911e614c1da1957af5518a15c5605657b4e2.tar.bz2 |
Move tests from test/Archive to test/Object.
There is no lib/Archive anymore and some archive tests were in test/Archive and
others in test/Object. Since archive is just one of the formats supported by
lib/Object, test/Object is probably the best location.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186038 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Object/extract.ll')
-rw-r--r-- | test/Object/extract.ll | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/Object/extract.ll b/test/Object/extract.ll new file mode 100644 index 0000000..ab2bcc6 --- /dev/null +++ b/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 - |