Displaying 3 results from an estimated 3 matches for "escapeenumerator".
2009 Dec 02
0
[LLVMdev] Troubles with llvm.gcroot and exception handling
...rated. I should have included the assembly for root.ll as shown.
>> 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:
>
> The EscapeEnumerator code in ShadowStackGC.cpp adds cleanup code using
> invoke and unwind - might be related to this?
Okay, so that's probably where the EH stuff comes from. Does the assembler
error indicate a bug or is there something else I need to do (like using a
gcc flag, or perhaps using ld instead of gc...
2009 Dec 01
1
[LLVMdev] Troubles with llvm.gcroot and exception handling
Hi all,
I'm toying around with LLVM's GC support and am struggling with the
following. I have a little test snippet (a .ll file with IR) that uses
llvm.gcroot to mark a GC root, but when I compile it to assembly with
llc, followed by generating an executable with gcc I get an error
related to exception handling:
22:40|melis at juggle2:~/projects/llvm_gc> cat root.ll
%obj = type { i8*,
2008 Jul 26
1
[LLVMdev] CollectorRegistry
Thank you so much for your help! I now have a much clearer idea of how
to proceed. :-)
This just keeps getting more interesting.
- Simon
2008/7/26 Gordon Henriksen <gordonhenriksen at me.com>:
> On Jul 26, 2008, at 12:14, Simon Ask Ulsnes wrote:
>
> 2008/7/26 Gordon Henriksen <gordonhenriksen at me.com>:
>
> I'm not sure the purpose of doing so—llvm::Collector