[PATCH] Introduce LinkAllPasses.cpp as LLVMAllPasses

Chandler Carruth chandlerc at gmail.com
Wed Jan 15 02:21:02 PST 2014


I would really like to avoid this.

I'm quite optimistic about the need fir LinkAllPasses and other hacks like
that to make the existing registration system work going away with the new
pass manager.

Why is the correct fix not to add a dependency from dragonegg -> objcarc?


On Wed, Jan 15, 2014 at 2:09 AM, NAKAMURA Takumi <geek4civic at gmail.com>wrote:

> Hi chandlerc,
>
> Motivation: http://llvm.org/bugs/show_bug.cgi?id=18407
> External projects, for example dragonegg, would be affected when pass is
> added.
>
> This patch introduces libLLVMAllPasses.a in lib/Transforms.
>
> Even without LLVM_LINKALLPASSES_IFACE, everything would work fine.
> I introduce LLVM_LINKALLPASSES_IFACE to make inter-object dependency
> scaning easier.
>
> I expect clang can be built regardless of this patch.
>
> http://llvm-reviews.chandlerc.com/D2549
>
> Files:
>   llvm/include/llvm/LinkAllPasses.h
>   llvm/lib/Transforms/CMakeLists.txt
>   llvm/lib/Transforms/LLVMBuild.txt
>   llvm/lib/Transforms/LinkAllPasses.cpp
>   llvm/lib/Transforms/Makefile
>   llvm/tools/bugpoint/CMakeLists.txt
>   llvm/tools/bugpoint/Makefile
>   llvm/tools/bugpoint/bugpoint.cpp
>   llvm/tools/opt/CMakeLists.txt
>   llvm/tools/opt/Makefile
>   llvm/tools/opt/opt.cpp
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140115/ae083360/attachment.html>


More information about the llvm-commits mailing list