The rationale here is that ArchSpec is used throughout the codebase, including in places which should not depend on the rest of the code in the Core module. This commit touches many files, but most of it is just renaming of #include lines. In a couple of cases, I removed the #include ArchSpec line altogether, as the file was not using it. In one or two places, this necessitated adding other #includes like lldb-private-defines.h. llvm-svn: 318048
84 lines
1.7 KiB
CMake
84 lines
1.7 KiB
CMake
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()
|
|
|
|
add_lldb_library(lldbCore
|
|
Address.cpp
|
|
AddressRange.cpp
|
|
AddressResolver.cpp
|
|
AddressResolverFileLine.cpp
|
|
AddressResolverName.cpp
|
|
Broadcaster.cpp
|
|
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
|
|
|
|
LINK_LIBS
|
|
clangAST
|
|
lldbBreakpoint
|
|
lldbDataFormatters
|
|
lldbExpression
|
|
lldbHost
|
|
lldbInterpreter
|
|
lldbSymbol
|
|
lldbTarget
|
|
lldbUtility
|
|
lldbPluginProcessUtility
|
|
lldbPluginCPlusPlusLanguage
|
|
lldbPluginObjCLanguage
|
|
lldbPluginObjectFileJIT
|
|
${LLDB_CURSES_LIBS}
|
|
|
|
LINK_COMPONENTS
|
|
BinaryFormat
|
|
Support
|
|
Demangle
|
|
)
|
|
|
|
# Needed to properly resolve references in a debug build.
|
|
# TODO: Remove once we have better layering
|
|
set_target_properties(lldbCore PROPERTIES LINK_INTERFACE_MULTIPLICITY 4)
|