aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/MetadataLoader.cpp
diff options
context:
space:
mode:
authorStephen Neuendorffer <stephen.neuendorffer@xilinx.com>2020-05-12 20:43:50 -0700
committerStephen Neuendorffer <stephen.neuendorffer@xilinx.com>2020-05-12 22:36:52 -0700
commit085234bedc3803699e58a8c9e6bbace3388efee2 (patch)
tree1c0d35f200c3e6ba1861f51eb2b0387e37bc822b /llvm/lib/Bitcode/Reader/MetadataLoader.cpp
parent7d4167430c411ba1441260be9243d3401695ea7a (diff)
downloadllvm-085234bedc3803699e58a8c9e6bbace3388efee2.zip
llvm-085234bedc3803699e58a8c9e6bbace3388efee2.tar.gz
llvm-085234bedc3803699e58a8c9e6bbace3388efee2.tar.bz2
[cmake] Update creation of object library dependencies for LINK_LIBS PUBLIC
We need to avoid declaring dependencies on strings which are valid LINK_LIBS and not valid targets. Previously, we used if(TARGET) to check this condition. However, if(TARGET) checks whether a target has been created (in the cmake subdirectory traversal order) and not whether it *will* be created. This results in annoying directory ordering problems. This patch changes the check to more explicitly eliminate problematic libraries (namely -lpthread) using a REGEX. Differential Revision: https://reviews.llvm.org/D79837
Diffstat (limited to 'llvm/lib/Bitcode/Reader/MetadataLoader.cpp')
0 files changed, 0 insertions, 0 deletions