Displaying 2 results from an estimated 2 matches for "ccghpzdb".
2009 Dec 01
1
[LLVMdev] Troubles with llvm.gcroot and exception handling
...%myobj = bitcast i8* %t to %obj*
store %obj* %myobj, %obj** %ptr
ret i32 0
}
22:40|melis at juggle2:~/projects/llvm_gc> llc root.ll
22:40|melis at juggle2:~/projects/llvm_gc> gcc -o r root.s
/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/../../../../i686-pc-linux-gnu/bin/ld:
error in /tmp/ccGhPZDb.o(.eh_frame); no .eh_frame_hdr table will be created.
I'm actually puzzled that exception handling code is generated, and more
so that it is caused by the llvm.gcroot call. If I comment that one out
all no exception handling stuff is created:
22:42|melis at juggle2:~/projects/llvm_gc> cat...
2009 Dec 02
0
[LLVMdev] Troubles with llvm.gcroot and exception handling
...ending a second time]
Hi Duncan,
Duncan Sands wrote:
>> 22:40|melis at juggle2:~/projects/llvm_gc> llc root.ll
>> 22:40|melis at juggle2:~/projects/llvm_gc> gcc -o r root.s
>> /usr/lib/gcc/i686-pc-linux-gnu/4.3.4/../../../../i686-pc-linux-gnu/bin/ld:
>> error in /tmp/ccGhPZDb.o(.eh_frame); no .eh_frame_hdr table will be
>> created.
>
> the assembler you pasted assembles for me on x86-32 linux.
Ah, sorry for not being clear. The piece of assembler shown was for the
case where the gcroot call was removed and no exception handling code was
generated. I should...