From 555099207b0bca5da5a127580e8909d2a477f281 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Wed, 10 Jul 2013 22:07:59 +0000 Subject: Find the symbol table on archives created on OS X. llvm-svn: 186041 --- llvm/test/Object/nm-archive.test | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'llvm/test/Object/nm-archive.test') diff --git a/llvm/test/Object/nm-archive.test b/llvm/test/Object/nm-archive.test index 99efc1bec67..bf56a300e0d 100644 --- a/llvm/test/Object/nm-archive.test +++ b/llvm/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 -- cgit v1.2.3