hanchenye-llvm-project/lldb/source
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
..
API Fix LLVM_LINK_LLVM_DYLIB build (pr35053) 2017-10-31 13:23:19 +00:00
Breakpoint Wire up the breakpoint name help string. 2017-09-15 00:52:35 +00:00
Commands Invert ArchSpec<->Platform dependency 2017-10-31 10:56:03 +00:00
Core Invert ArchSpec<->Platform dependency 2017-10-31 10:56:03 +00:00
DataFormatters Use exact equality for category language matching, for all languages, except those specifically mentioned. 2017-06-06 20:40:24 +00:00
Expression Add support for the DWP debug info format 2017-08-25 13:56:14 +00:00
Host Invert ArchSpec<->Platform dependency 2017-10-31 10:56:03 +00:00
Initialization Logging: Disable logging after fork() 2017-10-23 19:41:17 +00:00
Interpreter Invert ArchSpec<->Platform dependency 2017-10-31 10:56:03 +00:00
Plugins Increase AdbClient read timeout 2017-10-31 12:27:46 +00:00
Symbol [Symbol] Remove dead code. NFCI. 2017-10-23 23:14:17 +00:00
Target Invert ArchSpec<->Platform dependency 2017-10-31 10:56:03 +00:00
Utility Fix LLVM_LINK_LLVM_DYLIB build (pr35053) 2017-10-31 13:23:19 +00:00
CMakeLists.txt Remove Plugins/Process/POSIX from include_directories 2017-04-11 12:26:25 +00:00
lldb.cpp One more cleanup to lldb version printing 2016-11-14 22:43:08 +00:00