search for: ltmp_173_15

Displaying 3 results from an estimated 3 matches for "ltmp_173_15".

2006 Nov 20
1
[LLVMdev] libstdc++ as bytecode, and compiling C++ to C
...()...] $ llc -march=c -o=cbe.c out.bc WARNING: this target does not support the llvm.stacksave intrinsic. $ gcc -g cbe.c [n.b.: compiles successfully!] $ gdb a.out (gdb) run Starting program: a.out Program received signal SIGSEGV, Segmentation fault. 0x08048958 in main () at cbe.c:1154 1154 ltmp_173_15 = *((int *)(&ltmp_172_54[-3])); (gdb) print ltmp_172_54 $1 = (int (**)()) 0x0 Can I send you bytecode files or any further diagnostics to chase this up? > > Oops, no go. Try a different way: > > > > $ llvm-g++ -emit-llvm -c x.cpp > > $ llvm-link -o=linked.o x.o std/*...
2006 Nov 20
0
[LLVMdev] libstdc++ as bytecode, and compiling C++ to C
On Mon, 2006-11-20 at 17:49 +1100, Emil Mikulic wrote: > I've compiled all the object files that make up libstdc++ and libsupc++ > into LLVM bytecode: > http://goanna.cs.rmit.edu.au/~emil/libstdcxx.tar.bz2 (438KB) > > A simple test program, x.cpp: > > #include <iostream> > int main() { std::cout << "hello world\n"; return 0; } > > $
2006 Nov 20
4
[LLVMdev] libstdc++ as bytecode, and compiling C++ to C
I've compiled all the object files that make up libstdc++ and libsupc++ into LLVM bytecode: http://goanna.cs.rmit.edu.au/~emil/libstdcxx.tar.bz2 (438KB) A simple test program, x.cpp: #include <iostream> int main() { std::cout << "hello world\n"; return 0; } $ llvm-g++ -emit-llvm -c x.cpp $ llvmc -o=out x.o std/*.o sup/*.o $ lli out.bc Segmentation fault (core