summaryrefslogtreecommitdiff
path: root/test/Archive/toc_SVR4.ll
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-11-20 07:25:41 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-11-20 07:25:41 +0000
commite651c954aade4d23f4976af6ade3f767ca387976 (patch)
tree0c9ea3d052f2ba8b8c84fea1ff742c2c7fecff95 /test/Archive/toc_SVR4.ll
parent2e78cf6385e59576c2ff73b4aab828cddd12d0dd (diff)
downloadllvm-e651c954aade4d23f4976af6ade3f767ca387976.tar.gz
llvm-e651c954aade4d23f4976af6ade3f767ca387976.tar.bz2
llvm-e651c954aade4d23f4976af6ade3f767ca387976.tar.xz
An llvm-ar test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18043 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Archive/toc_SVR4.ll')
-rw-r--r--test/Archive/toc_SVR4.ll10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/Archive/toc_SVR4.ll b/test/Archive/toc_SVR4.ll
new file mode 100644
index 0000000000..589d34c52b
--- /dev/null
+++ b/test/Archive/toc_SVR4.ll
@@ -0,0 +1,10 @@
+;This isn't really an assembly file, its just here to run the test.
+;This test just makes sure that llvm-ar can generate a table of contents for
+;SVR4 style archives
+;RUN: llvm-ar t %p/SVR4.a > %t1
+;RUN: sed -e '/^;.*/d' %s >%t2
+;RUN: diff %t2 %t1
+evenlen
+oddlen
+very_long_bytecode_file_name.bc
+IsNAN.o