forked from OSchip/llvm-project
[CMake] [3/4] Update a batch of plugins
This is extending the updates from r293696 to more LLDB plugins. llvm-svn: 293700
This commit is contained in:
parent
66a2d639ab
commit
81b8f12b42
|
@ -1,3 +1,10 @@
|
|||
add_lldb_library(lldbPluginOSGo
|
||||
add_lldb_library(lldbPluginOSGo PLUGIN
|
||||
OperatingSystemGo.cpp
|
||||
|
||||
LINK_LIBS
|
||||
lldbCore
|
||||
lldbInterpreter
|
||||
lldbSymbol
|
||||
lldbTarget
|
||||
lldbPluginProcessUtility
|
||||
)
|
||||
|
|
|
@ -1,3 +1,10 @@
|
|||
add_lldb_library(lldbPluginOSPython
|
||||
add_lldb_library(lldbPluginOSPython PLUGIN
|
||||
OperatingSystemPython.cpp
|
||||
|
||||
LINK_LIBS
|
||||
lldbCore
|
||||
lldbInterpreter
|
||||
lldbSymbol
|
||||
lldbTarget
|
||||
lldbPluginProcessUtility
|
||||
)
|
||||
|
|
|
@ -1,5 +1,13 @@
|
|||
add_lldb_library(lldbPluginPlatformAndroid
|
||||
add_lldb_library(lldbPluginPlatformAndroid PLUGIN
|
||||
AdbClient.cpp
|
||||
PlatformAndroid.cpp
|
||||
PlatformAndroidRemoteGDBServer.cpp
|
||||
|
||||
LINK_LIBS
|
||||
lldbCore
|
||||
lldbHost
|
||||
lldbPluginPlatformLinux
|
||||
lldbPluginPlatformGDB
|
||||
LINK_COMPONENTS
|
||||
Support
|
||||
)
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
add_lldb_library(lldbPluginPlatformFreeBSD
|
||||
add_lldb_library(lldbPluginPlatformFreeBSD PLUGIN
|
||||
PlatformFreeBSD.cpp
|
||||
|
||||
LINK_LIBS
|
||||
lldbBreakpoint
|
||||
lldbCore
|
||||
lldbHost
|
||||
lldbTarget
|
||||
)
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
add_lldb_library(lldbPluginPlatformKalimba
|
||||
add_lldb_library(lldbPluginPlatformKalimba PLUGIN
|
||||
PlatformKalimba.cpp
|
||||
|
||||
LINK_LIBS
|
||||
lldbCore
|
||||
lldbHost
|
||||
lldbTarget
|
||||
)
|
||||
|
|
|
@ -1,3 +1,11 @@
|
|||
add_lldb_library(lldbPluginPlatformLinux
|
||||
add_lldb_library(lldbPluginPlatformLinux PLUGIN
|
||||
PlatformLinux.cpp
|
||||
|
||||
LINK_LIBS
|
||||
lldbBreakpoint
|
||||
lldbCore
|
||||
lldbHost
|
||||
lldbInterpreter
|
||||
lldbTarget
|
||||
lldbPluginPlatformPOSIX
|
||||
)
|
||||
|
|
|
@ -24,4 +24,19 @@ else()
|
|||
${PLUGIN_PLATFORM_MACOSX_DARWIN_ONLY_SOURCES})
|
||||
endif()
|
||||
|
||||
add_lldb_library(lldbPluginPlatformMacOSX ${PLUGIN_PLATFORM_MACOSX_SOURCES})
|
||||
add_lldb_library(lldbPluginPlatformMacOSX PLUGIN
|
||||
${PLUGIN_PLATFORM_MACOSX_SOURCES}
|
||||
|
||||
LINK_LIBS
|
||||
clangBasic
|
||||
lldbBreakpoint
|
||||
lldbCore
|
||||
lldbHost
|
||||
lldbInterpreter
|
||||
lldbSymbol
|
||||
lldbTarget
|
||||
lldbUtility
|
||||
lldbPluginPlatformPOSIX
|
||||
LINK_COMPONENTS
|
||||
Support
|
||||
)
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
add_lldb_library(lldbPluginPlatformNetBSD
|
||||
add_lldb_library(lldbPluginPlatformNetBSD PLUGIN
|
||||
PlatformNetBSD.cpp
|
||||
|
||||
LINK_LIBS
|
||||
lldbBreakpoint
|
||||
lldbCore
|
||||
lldbHost
|
||||
lldbTarget
|
||||
)
|
||||
|
|
|
@ -1,3 +1,10 @@
|
|||
add_lldb_library(lldbPluginPlatformPOSIX
|
||||
add_lldb_library(lldbPluginPlatformPOSIX PLUGIN
|
||||
PlatformPOSIX.cpp
|
||||
|
||||
LINK_LIBS
|
||||
lldbCore
|
||||
lldbExpression
|
||||
lldbHost
|
||||
lldbInterpreter
|
||||
lldbTarget
|
||||
)
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
add_lldb_library(lldbPluginPlatformWindows
|
||||
add_lldb_library(lldbPluginPlatformWindows PLUGIN
|
||||
PlatformWindows.cpp
|
||||
|
||||
LINK_LIBS
|
||||
lldbBreakpoint
|
||||
lldbCore
|
||||
lldbHost
|
||||
lldbTarget
|
||||
)
|
||||
|
|
|
@ -1,3 +1,10 @@
|
|||
add_lldb_library(lldbPluginPlatformGDB
|
||||
add_lldb_library(lldbPluginPlatformGDB PLUGIN
|
||||
PlatformRemoteGDBServer.cpp
|
||||
|
||||
LINK_LIBS
|
||||
lldbBreakpoint
|
||||
lldbCore
|
||||
lldbHost
|
||||
lldbTarget
|
||||
lldbPluginProcessUtility
|
||||
)
|
||||
|
|
|
@ -2,7 +2,7 @@ include_directories(.)
|
|||
include_directories(../POSIX)
|
||||
include_directories(../Utility)
|
||||
|
||||
add_lldb_library(lldbPluginProcessFreeBSD
|
||||
add_lldb_library(lldbPluginProcessFreeBSD PLUGIN
|
||||
ProcessFreeBSD.cpp
|
||||
FreeBSDThread.cpp
|
||||
ProcessMonitor.cpp
|
||||
|
@ -13,4 +13,16 @@ add_lldb_library(lldbPluginProcessFreeBSD
|
|||
RegisterContextPOSIXProcessMonitor_powerpc.cpp
|
||||
RegisterContextPOSIXProcessMonitor_x86.cpp
|
||||
RegisterContextPOSIXProcessMonitor_mips64.cpp
|
||||
|
||||
LINK_LIBS
|
||||
lldbBreakpoint
|
||||
lldbCore
|
||||
lldbHost
|
||||
lldbSymbol
|
||||
lldbTarget
|
||||
lldbUtility
|
||||
lldbPluginProcessUtility
|
||||
lldbPluginProcessPOSIX
|
||||
LINK_COMPONENTS
|
||||
Support
|
||||
)
|
||||
|
|
|
@ -2,7 +2,7 @@ include_directories(.)
|
|||
include_directories(../POSIX)
|
||||
include_directories(../Utility)
|
||||
|
||||
add_lldb_library(lldbPluginProcessLinux
|
||||
add_lldb_library(lldbPluginProcessLinux PLUGIN
|
||||
NativeProcessLinux.cpp
|
||||
NativeRegisterContextLinux.cpp
|
||||
NativeRegisterContextLinux_arm.cpp
|
||||
|
@ -13,4 +13,15 @@ add_lldb_library(lldbPluginProcessLinux
|
|||
NativeThreadLinux.cpp
|
||||
ProcFileReader.cpp
|
||||
SingleStepCheck.cpp
|
||||
|
||||
LINK_LIBS
|
||||
lldbCore
|
||||
lldbHost
|
||||
lldbSymbol
|
||||
lldbTarget
|
||||
lldbUtility
|
||||
lldbPluginProcessPOSIX
|
||||
lldbPluginProcessUtility
|
||||
LINK_COMPONENTS
|
||||
Support
|
||||
)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
add_lldb_library(lldbPluginProcessMacOSXKernel
|
||||
add_lldb_library(lldbPluginProcessMacOSXKernel PLUGIN
|
||||
CommunicationKDP.cpp
|
||||
ProcessKDP.cpp
|
||||
ProcessKDPLog.cpp
|
||||
|
@ -7,4 +7,16 @@ add_lldb_library(lldbPluginProcessMacOSXKernel
|
|||
RegisterContextKDP_i386.cpp
|
||||
RegisterContextKDP_x86_64.cpp
|
||||
ThreadKDP.cpp
|
||||
|
||||
LINK_LIBS
|
||||
lldbBreakpoint
|
||||
lldbCore
|
||||
lldbHost
|
||||
lldbInterpreter
|
||||
lldbSymbol
|
||||
lldbTarget
|
||||
lldbUtility
|
||||
lldbPluginDynamicLoaderDarwinKernel
|
||||
lldbPluginDynamicLoaderStatic
|
||||
lldbPluginProcessUtility
|
||||
)
|
||||
|
|
|
@ -1,8 +1,14 @@
|
|||
include_directories(.)
|
||||
include_directories(../Utility)
|
||||
|
||||
add_lldb_library(lldbPluginProcessPOSIX
|
||||
add_lldb_library(lldbPluginProcessPOSIX PLUGIN
|
||||
CrashReason.cpp
|
||||
ProcessMessage.cpp
|
||||
ProcessPOSIXLog.cpp
|
||||
|
||||
LINK_LIBS
|
||||
lldbCore
|
||||
lldbInterpreter
|
||||
LINK_COMPONENTS
|
||||
Support
|
||||
)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
include_directories(../../../Utility/)
|
||||
|
||||
add_lldb_library(lldbPluginProcessUtility
|
||||
add_lldb_library(lldbPluginProcessUtility PLUGIN
|
||||
DynamicRegisterInfo.cpp
|
||||
FreeBSDSignals.cpp
|
||||
GDBRemoteSignals.cpp
|
||||
|
@ -46,4 +46,17 @@ add_lldb_library(lldbPluginProcessUtility
|
|||
ThreadMemory.cpp
|
||||
UnwindLLDB.cpp
|
||||
UnwindMacOSXFrameBackchain.cpp
|
||||
|
||||
LINK_LIBS
|
||||
lldbBreakpoint
|
||||
lldbCore
|
||||
lldbDataFormatters
|
||||
lldbExpression
|
||||
lldbHost
|
||||
lldbSymbol
|
||||
lldbTarget
|
||||
lldbUtility
|
||||
lldbPluginProcessElfCore
|
||||
LINK_COMPONENTS
|
||||
Support
|
||||
)
|
||||
|
|
|
@ -20,6 +20,14 @@ elseif (CMAKE_SIZEOF_VOID_P EQUAL 8)
|
|||
)
|
||||
endif()
|
||||
|
||||
add_lldb_library(lldbPluginProcessWindowsCommon
|
||||
add_lldb_library(lldbPluginProcessWindowsCommon PLUGIN
|
||||
${PROC_WINDOWS_COMMON_SOURCES}
|
||||
|
||||
LINK_LIBS
|
||||
lldbCore
|
||||
lldbHost
|
||||
lldbInterpreter
|
||||
lldbTarget
|
||||
LINK_COMPONENTS
|
||||
Support
|
||||
)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
include_directories(../Utility)
|
||||
|
||||
add_lldb_library(lldbPluginProcessElfCore
|
||||
add_lldb_library(lldbPluginProcessElfCore PLUGIN
|
||||
ProcessElfCore.cpp
|
||||
ThreadElfCore.cpp
|
||||
RegisterContextPOSIXCore_arm.cpp
|
||||
|
@ -9,4 +9,13 @@ add_lldb_library(lldbPluginProcessElfCore
|
|||
RegisterContextPOSIXCore_powerpc.cpp
|
||||
RegisterContextPOSIXCore_s390x.cpp
|
||||
RegisterContextPOSIXCore_x86_64.cpp
|
||||
|
||||
LINK_LIBS
|
||||
lldbCore
|
||||
lldbTarget
|
||||
lldbPluginDynamicLoaderPosixDYLD
|
||||
lldbPluginObjectFileELF
|
||||
lldbPluginProcessUtility
|
||||
LINK_COMPONENTS
|
||||
Support
|
||||
)
|
||||
|
|
|
@ -2,7 +2,7 @@ if (CMAKE_SYSTEM_NAME MATCHES "Darwin")
|
|||
include_directories(${LIBXML2_INCLUDE_DIR})
|
||||
endif()
|
||||
|
||||
add_lldb_library(lldbPluginProcessGDBRemote
|
||||
add_lldb_library(lldbPluginProcessGDBRemote PLUGIN
|
||||
GDBRemoteClientBase.cpp
|
||||
GDBRemoteCommunication.cpp
|
||||
GDBRemoteCommunicationClient.cpp
|
||||
|
@ -14,4 +14,18 @@ add_lldb_library(lldbPluginProcessGDBRemote
|
|||
ProcessGDBRemote.cpp
|
||||
ProcessGDBRemoteLog.cpp
|
||||
ThreadGDBRemote.cpp
|
||||
|
||||
LINK_LIBS
|
||||
lldbBreakpoint
|
||||
lldbCore
|
||||
lldbDataFormatters
|
||||
lldbHost
|
||||
lldbInterpreter
|
||||
lldbSymbol
|
||||
lldbTarget
|
||||
lldbUtility
|
||||
lldbPluginProcessUtility
|
||||
lldbPluginPlatformMacOSX
|
||||
LINK_COMPONENTS
|
||||
Support
|
||||
)
|
||||
|
|
|
@ -1,6 +1,19 @@
|
|||
include_directories(../Utility)
|
||||
|
||||
add_lldb_library(lldbPluginProcessMachCore
|
||||
add_lldb_library(lldbPluginProcessMachCore PLUGIN
|
||||
ProcessMachCore.cpp
|
||||
ThreadMachCore.cpp
|
||||
|
||||
LINK_LIBS
|
||||
lldbBreakpoint
|
||||
lldbCore
|
||||
lldbHost
|
||||
lldbSymbol
|
||||
lldbTarget
|
||||
lldbUtility
|
||||
lldbPluginDynamicLoaderDarwinKernel
|
||||
lldbPluginDynamicLoaderMacOSXDYLD
|
||||
lldbPluginObjectFileMachO
|
||||
LINK_COMPONENTS
|
||||
Support
|
||||
)
|
||||
|
|
|
@ -1,10 +1,19 @@
|
|||
include_directories(../Utility)
|
||||
|
||||
add_lldb_library(lldbPluginProcessMinidump
|
||||
add_lldb_library(lldbPluginProcessMinidump PLUGIN
|
||||
MinidumpTypes.cpp
|
||||
MinidumpParser.cpp
|
||||
RegisterContextMinidump_x86_32.cpp
|
||||
RegisterContextMinidump_x86_64.cpp
|
||||
ProcessMinidump.cpp
|
||||
ThreadMinidump.cpp
|
||||
|
||||
LINK_LIBS
|
||||
lldbCore
|
||||
lldbTarget
|
||||
lldbUtility
|
||||
lldbPluginProcessUtility
|
||||
lldbPluginProcessElfCore
|
||||
LINK_COMPONENTS
|
||||
Support
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue