2017-08-18 04:33:21 +08:00
|
|
|
set(LLDB_CURSES_LIBS)
|
|
|
|
|
|
|
|
if (NOT LLDB_DISABLE_CURSES)
|
|
|
|
list(APPEND LLDB_CURSES_LIBS ${CURSES_LIBRARIES})
|
|
|
|
if(LLVM_ENABLE_TERMINFO AND HAVE_TERMINFO)
|
|
|
|
list(APPEND LLDB_CURSES_LIBS ${TERMINFO_LIBS})
|
|
|
|
endif()
|
|
|
|
endif()
|
|
|
|
|
2013-09-25 18:37:32 +08:00
|
|
|
add_lldb_library(lldbCore
|
|
|
|
Address.cpp
|
|
|
|
AddressRange.cpp
|
|
|
|
AddressResolver.cpp
|
|
|
|
AddressResolverFileLine.cpp
|
|
|
|
AddressResolverName.cpp
|
|
|
|
Broadcaster.cpp
|
|
|
|
Communication.cpp
|
|
|
|
Debugger.cpp
|
|
|
|
Disassembler.cpp
|
2017-03-04 04:57:05 +08:00
|
|
|
DumpDataExtractor.cpp
|
2013-09-25 18:37:32 +08:00
|
|
|
DynamicLoader.cpp
|
|
|
|
EmulateInstruction.cpp
|
|
|
|
Event.cpp
|
|
|
|
FileLineResolver.cpp
|
|
|
|
FileSpecList.cpp
|
2015-02-05 06:46:17 +08:00
|
|
|
FormatEntity.cpp
|
2014-01-28 07:43:24 +08:00
|
|
|
IOHandler.cpp
|
2013-09-25 18:37:32 +08:00
|
|
|
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
|
2015-07-16 09:47:12 +08:00
|
|
|
ValueObjectConstResultCast.cpp
|
2013-09-25 18:37:32 +08:00
|
|
|
ValueObjectConstResultChild.cpp
|
|
|
|
ValueObjectConstResultImpl.cpp
|
|
|
|
ValueObjectDynamicValue.cpp
|
|
|
|
ValueObjectList.cpp
|
|
|
|
ValueObjectMemory.cpp
|
|
|
|
ValueObjectRegister.cpp
|
|
|
|
ValueObjectSyntheticFilter.cpp
|
|
|
|
ValueObjectVariable.cpp
|
2017-02-01 04:43:05 +08:00
|
|
|
|
|
|
|
LINK_LIBS
|
2017-04-07 05:28:29 +08:00
|
|
|
clangAST
|
2017-02-01 04:43:05 +08:00
|
|
|
lldbBreakpoint
|
|
|
|
lldbDataFormatters
|
|
|
|
lldbExpression
|
|
|
|
lldbHost
|
|
|
|
lldbInterpreter
|
|
|
|
lldbSymbol
|
|
|
|
lldbTarget
|
|
|
|
lldbUtility
|
|
|
|
lldbPluginProcessUtility
|
|
|
|
lldbPluginCPlusPlusLanguage
|
|
|
|
lldbPluginObjCLanguage
|
2017-08-18 04:33:21 +08:00
|
|
|
${LLDB_CURSES_LIBS}
|
2017-02-01 04:43:05 +08:00
|
|
|
|
|
|
|
LINK_COMPONENTS
|
2017-06-07 11:48:56 +08:00
|
|
|
BinaryFormat
|
2017-02-01 04:43:05 +08:00
|
|
|
Support
|
|
|
|
Demangle
|
2013-09-25 18:37:32 +08:00
|
|
|
)
|
|
|
|
|
2017-02-16 00:11:51 +08:00
|
|
|
# Needed to properly resolve references in a debug build.
|
|
|
|
# TODO: Remove once we have better layering
|
2017-03-09 18:16:15 +08:00
|
|
|
set_target_properties(lldbCore PROPERTIES LINK_INTERFACE_MULTIPLICITY 4)
|