summaryrefslogtreecommitdiffstats
path: root/llvm/test/Object/toc_GNU.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Object/toc_GNU.ll')
-rw-r--r--llvm/test/Object/toc_GNU.ll8
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/test/Object/toc_GNU.ll b/llvm/test/Object/toc_GNU.ll
new file mode 100644
index 00000000000..510b7ed1418
--- /dev/null
+++ b/llvm/test/Object/toc_GNU.ll
@@ -0,0 +1,8 @@
+;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
+;GNU style archives
+;RUN: llvm-ar t %p/Inputs/GNU.a | FileCheck %s
+;CHECK: evenlen
+;CHECK-NEXT: oddlen
+;CHECK-NEXT: very_long_bytecode_file_name.bc
+;CHECK-NEXT: IsNAN.o
OpenPOWER on IntegriCloud