Displaying 1 result from an estimated 1 matches for "dn002".
2010 Sep 10
4
[LLVMdev] using GCC LTO files as a frontend to dragonegg?
Hello,
With GCC, it is possible to compile GIMPLE from an object file back to
assembly. With Dragonegg, it seems to be a NOP. (See below for a
comparison.)
This appears it could be a nice way to mix the strengths of GCC and
LLVM. If it worked.. Should it?
Thanks,
Marcus
[mdaniels at dn002 dragonegg]$ cat hello.c
#include <stdio.h>
int hello () { printf ("Hello World\n"); }
[mdaniels at dn002 dragonegg]$ gcc-4.5 -flto -c hello.c[mdaniels at dn002
dragonegg]$ gcc-4.5 -S -x lto hello.o
[mdaniels at dn002 dragonegg]$ cat hello.s
.file "hello.o"
.s...