[cfe-dev] [LLVMdev] want to intercept array dereferences

Jonathan Roelofs jonathan at codesourcery.com
Thu Apr 9 14:46:48 PDT 2015



On 4/9/15 1:00 PM, Gry Gunvor wrote:
>> The best place really is to do it in Clang, though it might depend
>> on why you want to do this particular transformation. If you're trying to do
>> bounds checking, the sanitizers already do that.
>
> Ah, well bounds checking passes do need to know that information.
> Perhaps it would work to just hack on one of the sanitizers and get it
> to gen the code I want rather than generating a software bounds check?

I'm still not sure what it is that you actually want to do, so I can't 
tell you whether or not this plan will work to get you there.


Jon

>
> Gry
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>

-- 
Jon Roelofs
jonathan at codesourcery.com
CodeSourcery / Mentor Embedded



More information about the cfe-dev mailing list