[llvm-commits] [llvm] r52824 - /llvm/trunk/test/Linker/link-archive.ll

Duncan Sands baldrick at free.fr
Fri Jun 27 03:52:15 PDT 2008


Author: baldrick
Date: Fri Jun 27 05:52:12 2008
New Revision: 52824

URL: http://llvm.org/viewvc/llvm-project?rev=52824&view=rev
Log:
Use the c modifier to tell llvm-ar not to issue a
warning when creating the archive (the warning
causes the test to fail).

Modified:
    llvm/trunk/test/Linker/link-archive.ll

Modified: llvm/trunk/test/Linker/link-archive.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Linker/link-archive.ll?rev=52824&r1=52823&r2=52824&view=diff

==============================================================================
--- llvm/trunk/test/Linker/link-archive.ll (original)
+++ llvm/trunk/test/Linker/link-archive.ll Fri Jun 27 05:52:12 2008
@@ -3,8 +3,8 @@
 ; RUN: llvm-as %s -o %t.bar.bc -f
 ; RUN: echo {define i32* @foo(i32 %x) \{ ret i32* @baz \} \
 ; RUN:   @baz = external global i32 } | llvm-as -o %t.foo.bc -f
-; RUN: llvm-ar rf %t.foo.a %t.foo.bc
-; RUN: llvm-ar rf %t.bar.a %t.bar.bc
+; RUN: llvm-ar rcf %t.foo.a %t.foo.bc
+; RUN: llvm-ar rcf %t.bar.a %t.bar.bc
 ; RUN: llvm-ld -disable-opt %t.bar.bc %t.foo.a -o %t.bc 
 ; RUN: llvm-ld -disable-opt %t.foo.bc %t.bar.a -o %t.bc
 declare i32* @foo(...)





More information about the llvm-commits mailing list