[LLVMdev] pass argument to a FunctionPass
khaledhamidouche at gmail.com
Fri Apr 23 07:40:46 PDT 2010
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 ??
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev