[LLVMdev] want to intercept array dereferences

Gry Gunvor gry.gunvor at gmail.com
Tue Apr 7 22:36:57 PDT 2015


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



More information about the llvm-dev mailing list