[cfe-dev] link a opt pass to clang
Neal N. Wang
neal.wang at gmail.com
Wed Jan 5 23:00:17 PST 2011
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?
Thanks,
Neal,
On Wed, Jan 5, 2011 at 10:32 PM, Neal N. Wang <neal.wang at gmail.com> wrote:
> 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/77f10ff2/attachment.html>
More information about the cfe-dev
mailing list