Hello All,<div><br></div><div>I am relatively new to clang. I recently downloaded the latest code from the subversion repository and tried to compile and use the plugin in the examples directory. I followed the instructions in the README file and rebuilt clang by disabling the TOOL_NO_EXPORT. </div>
<div><br></div><div>I am able to generate the libPrintFunctionNames.so file. But when I try to use it, I get the error "unable to find plugin 'print-fns'"</div><div><br></div><div>I am invoking it using "$ clang -cc1 -load LLVM/llvm-2.6/Release/lib -plugin print-fns trial.c"</div>
<div><br></div><div>libPrintfunctionNames is in LLVM/llvm-2.6/Release/lib</div><div><br></div><div><br></div><div>The source file "trial.c" has the following code</div><div>====================================</div>
<div><div>#include <stdio.h></div><div><br></div><div>int f();</div><div>int g();</div><div>int main(int argc, char** argv)</div><div>{</div><div>    int x,y,z;</div><div>    x=10;</div><div>    y=20;</div><div>    z=x+y;</div>
<div>    printf("Hello World %d\n",z);</div><div>    return 0;</div><div>}</div><div>=====================================</div><div><br></div></div><div><br></div><div>Am I missing something? </div><div><br></div>
<div>Thanks in advance !</div><div><br></div><div>Regards,<br>Pushkar<br>
</div>