diff options
author | Chris Bieneman <chris.bieneman@me.com> | 2019-07-08 18:29:29 +0000 |
---|---|---|
committer | Chris Bieneman <chris.bieneman@me.com> | 2019-07-08 18:29:29 +0000 |
commit | 7023bdc46fbbd7f5c4f458488497888f767cd2e0 (patch) | |
tree | fe8f3dd2cdcb0233d5a60f928cc7e19a2d1096ce /llvm/lib/Transforms/Utils/CloneFunction.cpp | |
parent | b324c64b6d4c807c44d2aba4b408dd573b850f1b (diff) | |
download | bcm5719-llvm-7023bdc46fbbd7f5c4f458488497888f767cd2e0.tar.gz bcm5719-llvm-7023bdc46fbbd7f5c4f458488497888f767cd2e0.zip |
Fix issues building libraries as more than one type with Xcode
Summary:
CMake+Xcode doesn't seem to handle targets that only have object
sources. This patch works around that limitation by adding a dummy
soruce file to any library target that is generated by llvm_add_library
when object libraries are generated.
Object libraries are generated whenever llvm_add_library is passed more
than one library type, which is now the default case for clang static
libraries (which generate STATIC and OBJECT libraries).
Reviewers: zturner, compnerd, joanlluch
Reviewed By: joanlluch
Subscribers: joanlluch, xbolva00, mgorny, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D64300
llvm-svn: 365365
Diffstat (limited to 'llvm/lib/Transforms/Utils/CloneFunction.cpp')
0 files changed, 0 insertions, 0 deletions