Displaying 1 result from an estimated 1 matches for "1020049".
Did you mean:
100049
2011 Dec 16
2
[LLVMdev] striping of stdio information in llvm-gcc and clang
Hi,
I have the following test code print.c:
#include <stdio.h>
int main(){
fprintf(stderr, "Error!\n");
return 0;
}
I did the following on linux to cross-compile it for Sparc architecture:
clang -m32 -c print.c -emit-llvm -o print.bc
(or llvm-gcc -m32 -c print.c -emit-llvm -o print.bc)
llvm-dis < print.bc -o print2.bc
llc -march=sparc -mcpu=v8 print2.bc -o print_s.s
if