Hello,<br><br>I'm a newbie here and I'm having some trouble with running the examples from clang. I built libPrintFunctionNames.so , by doing make in  llvm/tools/clang/examples/PrintFunctionNames, but I don't know how to see it at work. I've tried with <br>
<br>opt -load /usr/llvm/Debug/lib/libPrintFunctionNames.so -print-fns test.bc <br><br>just like one would do for a llvm pass, but it doesn't work:<br><br>opt: CommandLine Error: Argument 'version' defined more than once!<br>
opt: CommandLine Error: Argument 'help-hidden' defined more than once!<br>opt: CommandLine Error: Argument 'help' defined more than once!<br>opt: CommandLine Error: Argument 'debug-only' defined more than once!<br>
opt: CommandLine Error: Argument 'debug' defined more than once!<br>opt: CommandLine Error: Argument 'info-output-file' defined more than once!<br>opt: CommandLine Error: Argument 'track-memory' defined more than once!<br>
opt: Unknown command line argument '-print-fns'.  Try: 'opt --help'<br><br>I could really use a hand on this, especially because I can't find some fully explained examples on clang site (are there any? if yes, please give me a link).<br>
<br>Many thanks,<br>Cristina<br>