[LLVMdev] pass for one function

Frits van Bommel fvbommel at wxs.nl
Fri Mar 13 05:58:04 PDT 2009


abhishek Singh wrote:
> Hi All,
> Is it possible to write a opt pass , which can run on one particular 
> function( input from command line) in a module ?

Should be simple: add a command-line option for the pass name, and have 
the pass ignore any functions that don't have that name...



More information about the llvm-dev mailing list