forked from OSchip/llvm-project
8e58ad5182
The Core library calls functions provided by the curses library. Add an appropriate explicit LINK_LIBS to ${CURSES_LIBRARIES} to propagate the dependency correctly within the build system. It seems that so far the linkage was handled by some kind of implicit magic LLDB_SYSTEM_LIBS variable. However, it stopped working for unittests as the curses libraries are passed before the LLDBCore library, resulting in `-Wl,--as-needed` stripping the yet-unused library before it is required by LLDBCore, and effectively breaking the build. I think it's better to focus on listing all the dependencies explicitly and let CMake propagate them rather than trying to figure out why this hack stopped working. This is also more consistent with LLVM where the curses linkage in LLVMSupport is expressed directly in the library rather than deferred to the final programs. Differential Revision: https://reviews.llvm.org/D36358 llvm-svn: 311122 |
||
---|---|---|
.. | ||
Address.cpp | ||
AddressRange.cpp | ||
AddressResolver.cpp | ||
AddressResolverFileLine.cpp | ||
AddressResolverName.cpp | ||
ArchSpec.cpp | ||
Broadcaster.cpp | ||
CMakeLists.txt | ||
Communication.cpp | ||
Debugger.cpp | ||
Disassembler.cpp | ||
DumpDataExtractor.cpp | ||
DynamicLoader.cpp | ||
EmulateInstruction.cpp | ||
Event.cpp | ||
FileLineResolver.cpp | ||
FileSpecList.cpp | ||
FormatEntity.cpp | ||
IOHandler.cpp | ||
Listener.cpp | ||
Mangled.cpp | ||
Module.cpp | ||
ModuleChild.cpp | ||
ModuleList.cpp | ||
Opcode.cpp | ||
PluginManager.cpp | ||
RegisterValue.cpp | ||
Scalar.cpp | ||
SearchFilter.cpp | ||
Section.cpp | ||
SourceManager.cpp | ||
State.cpp | ||
StreamAsynchronousIO.cpp | ||
StreamFile.cpp | ||
UserSettingsController.cpp | ||
Value.cpp | ||
ValueObject.cpp | ||
ValueObjectCast.cpp | ||
ValueObjectChild.cpp | ||
ValueObjectConstResult.cpp | ||
ValueObjectConstResultCast.cpp | ||
ValueObjectConstResultChild.cpp | ||
ValueObjectConstResultImpl.cpp | ||
ValueObjectDynamicValue.cpp | ||
ValueObjectList.cpp | ||
ValueObjectMemory.cpp | ||
ValueObjectRegister.cpp | ||
ValueObjectSyntheticFilter.cpp | ||
ValueObjectVariable.cpp |