OSDN Git Service

Fix interaction of static plugins with -DLLVM_LINK_LLVM_DYLIB=ON.
authorEli Friedman <efriedma@quicinc.com>
Thu, 16 Apr 2020 21:32:15 +0000 (14:32 -0700)
committerEli Friedman <efriedma@quicinc.com>
Fri, 17 Apr 2020 18:49:05 +0000 (11:49 -0700)
commit4623c2ffa4cf39bd94295e8ad1b8ebaaf01a16cc
tree50645e704bff1f26740d12c18c0f71663c55086e
parent7d4546e3cf410cc5f9295ed57a8462ccbb5aa2a6
Fix interaction of static plugins with -DLLVM_LINK_LLVM_DYLIB=ON.

We should link static plugins into libLLVM.so; they shouldn't depend on
libLLVM.so.

Fixes https://bugs.llvm.org/show_bug.cgi?id=45571

Differential Revision: https://reviews.llvm.org/D78332
llvm/cmake/modules/AddLLVM.cmake
polly/lib/CMakeLists.txt