[PATCH] Introduce LinkAllPasses.cpp as LLVMAllPasses

NAKAMURA Takumi geek4civic at gmail.com
Wed Jan 15 02:09:47 PST 2014


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2549.1.patch
Type: text/x-patch
Size: 7202 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140115/04d73646/attachment.bin>


More information about the llvm-commits mailing list