[llvm] r242949 - Force the gnu archive format to fix the test on darwin.

Rafael Espindola rafael.espindola at gmail.com
Wed Jul 22 15:09:44 PDT 2015


Author: rafael
Date: Wed Jul 22 17:09:44 2015
New Revision: 242949

URL: http://llvm.org/viewvc/llvm-project?rev=242949&view=rev
Log:
Force the gnu archive format to fix the test on darwin.

Modified:
    llvm/trunk/test/Object/archive-symtab.test

Modified: llvm/trunk/test/Object/archive-symtab.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Object/archive-symtab.test?rev=242949&r1=242948&r2=242949&view=diff
==============================================================================
--- llvm/trunk/test/Object/archive-symtab.test (original)
+++ llvm/trunk/test/Object/archive-symtab.test Wed Jul 22 17:09:44 2015
@@ -10,7 +10,7 @@ CHECK-NOT: bar
 
 
 RUN: rm -f %t.a
-RUN: llvm-ar rcT %t.a %p/Inputs/trivial-object-test.elf-x86-64 %p/Inputs/trivial-object-test2.elf-x86-64
+RUN: llvm-ar --format=gnu rcT %t.a %p/Inputs/trivial-object-test.elf-x86-64 %p/Inputs/trivial-object-test2.elf-x86-64
 RUN: llvm-nm -M %t.a | FileCheck --check-prefix=THIN %s
 
 THIN: Archive map





More information about the llvm-commits mailing list