Hi!

Here is a quick patch to get

test/Feature/llvm2cpp.ll

to pass on SPARC.

the addition of -lmalloc should not harm
on other platforms, right?

Cheers,

        Gabor

PS: This knocks down the SPARC failures to

# of expected passes            2006
# of unexpected failures        4
# of expected failures          9


Of the 4 unexpecteds I have 3 because of OCaml (old compiler)
and 1 because of PR http://llvm.org/bugs/show_bug.cgi?id=1557
Index: test/Feature/llvm2cpp.ll
===================================================================
--- test/Feature/llvm2cpp.ll    (revision 43249)
+++ test/Feature/llvm2cpp.ll    (working copy)
@@ -1,6 +1,6 @@
 ; RUN: llvm-as < %s | llvm-dis > %t1.ll
 ; RUN: llvm-as < %s | llvm2cpp -gen-program -o %t2.cpp - -f
-; RUN: %link -o %t2.exe %t2.cpp -lLLVMCore -lLLVMSupport -lLLVMSystem -lstdc++
+; RUN: %link -o %t2.exe %t2.cpp -lLLVMCore -lLLVMSupport -lLLVMSystem -lstdc++ 
-lmalloc
 ; RUN: ./%t2.exe > %t2.ll
 ; RUN: diff %t1.ll %t2.ll
 
_______________________________________________
llvm-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to