[LLVMdev] pass argument to a FunctionPass
khaled hamidouche
khaledhamidouche at gmail.com
Fri Apr 23 07:40:46 PDT 2010
Hello
is there any way to pass argument to my own Function pass
I mean I wrote a Function pass (like Hello) that give me somme analyzes
about the code source and I need to pass somme argument to the Pass like
the size of data....
I want some think like this
opt -load ../../../Debug/lib/LLVMHello.so -hello2 < test.bc > /dev/null
arg1 arg2 ...
So how to get inside the Function pass the arg1 and arg 2 ??
Thank you
K.H
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100423/4979c1c0/attachment.html>
More information about the llvm-dev
mailing list