[LLVMdev] want to intercept array dereferences

Bruce Hoult bruce at hoult.org
Tue Apr 7 22:46:00 PDT 2015


Far too late. That would need to be in Clang.

On Wed, Apr 8, 2015 at 5:36 PM, Gry Gunvor <gry.gunvor at gmail.com> wrote:

> Normally for int n unknown at static time, "a[n]" and "*(a+n)" results
> in an add and then a dereference.  I want instead for it to compile to
> a system call that takes two arguments, a and n.  Where should I
> intercept this in LLVM?
>
> Gry
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150408/e79ae002/attachment.html>


More information about the llvm-dev mailing list