[cfe-dev] link a opt pass to clang

Neal N. Wang neal.wang at gmail.com
Wed Jan 5 22:32:16 PST 2011


Hi folk,

I used to use llvm-gcc front end and now switch to clang.  I have a pass
that is statically linked to opt, and it is automatically linked to gcc, but
clang -cc1 -mllvm --help does not show my pass.

How can I link my pass to clang?
Thanks,
Neal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20110105/7e67fa22/attachment.html>


More information about the cfe-dev mailing list