llvm-project/lldb/tools/lldb-server
Pavel Labath f753bfeeec Fix LLVM_LINK_LLVM_DYLIB build (pr35053)
Summary:
r316368 broke this build when it introduced a reference to a pthread
function to the Utility module. This caused cmake to generate an
incorrect link line (wrong order of libs) because it did not see the
dependency from Utility to the system libraries. Instead these libraries
were being manually added to each final target.

This changes moves the dependency management from the individual targets
to the lldbUtility module, which is consistent with how llvm does it.
The final targets will pick up these libraries as they will be a part of
the link interface of the module.

Technically, some of these dependencies could go into the host module,
as that's where most of the os-specific code is, but I did not try to
investigate which ones.

Reviewers: zturner, sylvestre.ledru

Subscribers: lldb-commits, mgorny

Differential Revision: https://reviews.llvm.org/D39246

llvm-svn: 316997
2017-10-31 13:23:19 +00:00
..
Darwin/resources [NFC] Darwin llgs support from Week of Code 2016-09-04 00:18:56 +00:00
Acceptor.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
Acceptor.h Move Connection and IOObject interfaces to Utility module 2017-06-27 10:33:14 +00:00
CMakeLists.txt Fix LLVM_LINK_LLVM_DYLIB build (pr35053) 2017-10-31 13:23:19 +00:00
LLDBServerUtilities.cpp Remove lldb streams from the Log class completely 2017-03-15 09:06:58 +00:00
LLDBServerUtilities.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
lldb-gdbserver.cpp Add a few missing newlines in lldb-server messages 2017-09-28 19:49:00 +00:00
lldb-platform.cpp Fix a copy-paste error in r307161 2017-07-06 11:43:25 +00:00
lldb-server.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
lldb-server.exports Only export public symbols with the cmake build. 2015-09-04 00:00:41 +00:00