[PATCH] cmake: Export symbols in all tools that support plugins.

Rafael EspĂ­ndola rafael.espindola at gmail.com
Tue Dec 3 19:57:25 PST 2013


LGTM for llc and lli, but I see TOOL_NO_EXPORTS in
tools/llvm-stress/Makefile.  We should also remove TOOL_NO_EXPORTS
from llvm-stress/Makefile if it needs plugins.

On 3 December 2013 18:20, Will Dietz <w at wdtz.org> wrote:
> Fixes undefined reference errors when attempting to load plugins into
> these tools.
>
> For example, VMKit uses an llc plugin that presently fails to load
> without this fix.
> Other tools (lli, llvm-stress) were found by grep'ing for use of PluginLoader.h.
>
> Patch attached.
>
> ~Will
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>



More information about the llvm-commits mailing list