Well, it's not automatically linked. I need to add my pass to llvm-gcc-4.2-2.8.source/gcc/Makefile.in. Where should I specify my pass such that it's linked to clang?<br><br>Thanks,<br>Neal, <br><br><div class="gmail_quote">
On Wed, Jan 5, 2011 at 10:32 PM, Neal N. Wang <span dir="ltr"><<a href="mailto:neal.wang@gmail.com">neal.wang@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi folk,<br><br>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. <br><br>
How can I link my
pass to clang?<br>
Thanks,<br><font color="#888888">
Neal
</font></blockquote></div><br>