summaryrefslogtreecommitdiff
path: root/test/Object/toc_MacOSX.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Object/toc_MacOSX.ll')
-rw-r--r--test/Object/toc_MacOSX.ll9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/Object/toc_MacOSX.ll b/test/Object/toc_MacOSX.ll
new file mode 100644
index 0000000000..3b8166c5e6
--- /dev/null
+++ b/test/Object/toc_MacOSX.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
+;MacOSX style archives
+;RUN: llvm-ar t %p/Inputs/MacOSX.a | FileCheck %s
+;CHECK: __.SYMDEF SORTED
+;CHECK-NEXT: evenlen
+;CHECK-NEXT: oddlen
+;CHECK-NEXT: very_long_bytecode_file_name.bc
+;CHECK-NEXT: IsNAN.o