aboutsummaryrefslogtreecommitdiffstats
path: root/test/Object
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-07-10 22:07:59 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-07-10 22:07:59 +0000
commita739759fca088d277cbb78e3fd4b359d68a1cbcb (patch)
treeb9a12c0db7ca60f62e90d0332ede3c0c90802573 /test/Object
parent6911911e614c1da1957af5518a15c5605657b4e2 (diff)
downloadexternal_llvm-a739759fca088d277cbb78e3fd4b359d68a1cbcb.zip
external_llvm-a739759fca088d277cbb78e3fd4b359d68a1cbcb.tar.gz
external_llvm-a739759fca088d277cbb78e3fd4b359d68a1cbcb.tar.bz2
Find the symbol table on archives created on OS X.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186041 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Object')
-rw-r--r--test/Object/nm-archive.test7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Object/nm-archive.test b/test/Object/nm-archive.test
index 99efc1b..bf56a30 100644
--- a/test/Object/nm-archive.test
+++ b/test/Object/nm-archive.test
@@ -30,3 +30,10 @@ RUN: llvm-nm %p/Inputs/archive-test.a-gnu-minimal
And don't crash when asked to print a non existing symtab.
RUN: llvm-nm -s %p/Inputs/archive-test.a-gnu-minimal
+
+
+Test that we at least find the symbol table on an OS X archive. Please update
+this when we are actually able to parse it.
+RUN: not llvm-nm -s %p/Inputs/MacOSX.a 2>&1 | FileCheck %s -check-prefix OSX
+
+OSX: BSD archive format is not supported