hanchenye-llvm-project/lldb/unittests
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
..
Breakpoint Rename Error -> Status. 2017-05-12 04:51:55 +00:00
Core Fix dumping of characters with non-standard sizes 2017-10-11 08:48:18 +00:00
Editline Rename Error -> Status. 2017-05-12 04:51:55 +00:00
Expression Rename Error -> Status. 2017-05-12 04:51:55 +00:00
Host Invert ArchSpec<->Platform dependency 2017-10-31 10:56:03 +00:00
Interpreter cmake + xcode: prevent gtests from using includes from project root 2017-10-03 21:20:18 +00:00
Language Enable parsing C++ names generated by lambda functions. 2017-07-13 19:48:43 +00:00
ObjectFile cmake + xcode: prevent gtests from using includes from project root 2017-10-03 21:20:18 +00:00
Platform
Process cmake + xcode: prevent gtests from using includes from project root 2017-10-03 21:20:18 +00:00
ScriptInterpreter Added new API to SBStructuredData class 2017-05-29 08:25:46 +00:00
Signals
Symbol cmake + xcode: prevent gtests from using includes from project root 2017-10-03 21:20:18 +00:00
SymbolFile cmake + xcode: prevent gtests from using includes from project root 2017-10-03 21:20:18 +00:00
Target cmake + xcode: prevent gtests from using includes from project root 2017-10-03 21:20:18 +00:00
TestingSupport cmake + xcode: prevent gtests from using includes from project root 2017-10-03 21:20:18 +00:00
UnwindAssembly Invert ArchSpec<->Platform dependency 2017-10-31 10:56:03 +00:00
Utility cmake + xcode: prevent gtests from using includes from project root 2017-10-03 21:20:18 +00:00
debugserver [CMake] Need to set WITH_LOCKDOWN on debugserver target 2017-09-06 20:15:43 +00:00
tools lldb-server tests: Propagate environment variables (pr34192) 2017-10-20 22:39:18 +00:00
CMakeLists.txt Fix LLVM_LINK_LLVM_DYLIB build (pr35053) 2017-10-31 13:23:19 +00:00
gtest_common.h