summaryrefslogtreecommitdiffstats
path: root/llvm/test/Object/toc_SVR4.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Object/toc_SVR4.ll')
-rw-r--r--llvm/test/Object/toc_SVR4.ll9
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/test/Object/toc_SVR4.ll b/llvm/test/Object/toc_SVR4.ll
new file mode 100644
index 00000000000..ecad5c8f0cc
--- /dev/null
+++ b/llvm/test/Object/toc_SVR4.ll
@@ -0,0 +1,9 @@
+;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
+;This archive was created on Solaris with /usr/ccs/bin/ar
+;RUN: llvm-ar t %p/Inputs/SVR4.a | FileCheck %s
+;CHECK: evenlen
+;CHECK-NEXT: oddlen
+;CHECK-NEXT: very_long_bytecode_file_name.bc
+;CHECK-NEXT: IsNAN.o
OpenPOWER on IntegriCloud