[LLVMdev] ShadowStackGC.cpp - More Dead Code?
Bill Wendling
wendling at apple.com
Tue Aug 23 14:39:31 PDT 2011
Okay, then I'll try to work around the use of the "unwind" instruction. :-)
-bw
On Aug 23, 2011, at 7:51 AM, Ben Karel wrote:
> Hi Bill,
>
> I don't think it's dead code, per se -- AFAIK there are still clients of LLVM which use the shadow stack as part of their garbage collection implementation. HLVM is probably the most visible such project.
>
> My own project now has its own GC plugin to emit stack maps, rather than relying on the shadow stack. But for what it's worth, I found the shadow stack to be a useful stepping stone towards a "real" GC implementation when I first started out with LLVM's garbage collector infrastructure.
>
> -- Ben
>
> On Sun, Aug 21, 2011 at 5:17 AM, Bill Wendling <wendling at apple.com> wrote:
> Hi,
>
> I've been looking at all of the uses of the 'unwind' instruction, and ShadowStackGC.cpp is the last pass which actually creates 'unwind' instructions. The thing is, this pass seems to be dead. It hasn't been updated in any meaningful way since ~79000.
>
> Should this pass go the way of the dodo?
>
> -bw
>
>
>
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>
More information about the llvm-dev
mailing list