2013-09-25 18:37:32 +08:00
|
|
|
add_subdirectory(ABI)
|
2017-10-26 05:05:31 +08:00
|
|
|
add_subdirectory(Architecture)
|
2013-09-25 18:37:32 +08:00
|
|
|
add_subdirectory(Disassembler)
|
|
|
|
add_subdirectory(DynamicLoader)
|
2015-09-03 12:17:57 +08:00
|
|
|
add_subdirectory(ExpressionParser)
|
2013-09-25 18:37:32 +08:00
|
|
|
add_subdirectory(Instruction)
|
2014-10-12 04:11:18 +08:00
|
|
|
add_subdirectory(InstrumentationRuntime)
|
2014-03-05 18:12:43 +08:00
|
|
|
add_subdirectory(JITLoader)
|
2015-08-28 05:33:50 +08:00
|
|
|
add_subdirectory(Language)
|
2013-09-25 18:37:32 +08:00
|
|
|
add_subdirectory(LanguageRuntime)
|
2014-09-04 09:03:18 +08:00
|
|
|
add_subdirectory(MemoryHistory)
|
2013-09-25 18:37:32 +08:00
|
|
|
add_subdirectory(ObjectContainer)
|
|
|
|
add_subdirectory(ObjectFile)
|
|
|
|
add_subdirectory(OperatingSystem)
|
|
|
|
add_subdirectory(Platform)
|
|
|
|
add_subdirectory(Process)
|
2015-07-31 04:28:07 +08:00
|
|
|
add_subdirectory(ScriptInterpreter)
|
2016-08-19 12:21:48 +08:00
|
|
|
add_subdirectory(StructuredData)
|
2013-09-25 18:37:32 +08:00
|
|
|
add_subdirectory(SymbolFile)
|
2013-12-06 17:32:46 +08:00
|
|
|
add_subdirectory(SystemRuntime)
|
2013-09-25 18:37:32 +08:00
|
|
|
add_subdirectory(SymbolVendor)
|
2020-08-18 08:21:52 +08:00
|
|
|
add_subdirectory(Trace)
|
[lldb] Move clang-based files out of Symbol
Summary:
This change represents the move of ClangASTImporter, ClangASTMetadata,
ClangExternalASTSourceCallbacks, ClangUtil, CxxModuleHandler, and
TypeSystemClang from lldbSource to lldbPluginExpressionParserClang.h
This explicitly removes knowledge of clang internals from lldbSymbol,
moving towards a more generic core implementation of lldb.
Reviewers: JDevlieghere, davide, aprantl, teemperor, clayborg, labath, jingham, shafik
Subscribers: emaste, mgorny, arphaman, jfb, usaxena95, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D73661
2020-01-30 03:59:28 +08:00
|
|
|
add_subdirectory(TypeSystem)
|
2013-09-25 18:37:32 +08:00
|
|
|
add_subdirectory(UnwindAssembly)
|
2020-02-19 03:25:42 +08:00
|
|
|
|
|
|
|
set(LLDB_STRIPPED_PLUGINS)
|
|
|
|
get_property(LLDB_ALL_PLUGINS GLOBAL PROPERTY LLDB_PLUGINS)
|
|
|
|
|
|
|
|
set(LLDB_ENUM_PLUGINS "")
|
|
|
|
|
2020-02-19 11:13:45 +08:00
|
|
|
# FIXME: ProcessWindowsCommon needs to be initialized after all other process
|
|
|
|
# plugins but before ProcessGDBRemote.
|
|
|
|
set(LLDB_PROCESS_WINDOWS_PLUGIN "")
|
|
|
|
set(LLDB_PROCESS_GDB_PLUGIN "")
|
|
|
|
|
2020-02-19 03:25:42 +08:00
|
|
|
foreach(p ${LLDB_ALL_PLUGINS})
|
|
|
|
# Strip lldbPlugin form the plugin name.
|
|
|
|
string(SUBSTRING ${p} 10 -1 pStripped)
|
|
|
|
if(${pStripped} MATCHES "^ScriptInterpreter*")
|
|
|
|
set(LLDB_ENUM_PLUGINS "${LLDB_ENUM_PLUGINS}LLDB_SCRIPT_PLUGIN(${pStripped})\n")
|
2020-02-19 11:13:45 +08:00
|
|
|
elseif(${pStripped} STREQUAL "ProcessWindowsCommon")
|
|
|
|
set(LLDB_PROCESS_WINDOWS_PLUGIN "LLDB_PLUGIN(${pStripped})\n")
|
|
|
|
elseif(${pStripped} STREQUAL "ProcessGDBRemote")
|
|
|
|
set(LLDB_PROCESS_GDB_PLUGIN "LLDB_PLUGIN(${pStripped})\n")
|
2020-02-19 03:25:42 +08:00
|
|
|
else()
|
|
|
|
set(LLDB_ENUM_PLUGINS "${LLDB_ENUM_PLUGINS}LLDB_PLUGIN(${pStripped})\n")
|
|
|
|
endif()
|
|
|
|
endforeach(p)
|
|
|
|
|
|
|
|
configure_file(
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/Plugins.def.in
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/Plugins.def
|
|
|
|
)
|
|
|
|
|
|
|
|
set_property(GLOBAL PROPERTY LLDB_PLUGINS_INCLUDE_DIR ${CMAKE_CURRENT_BINARY_DIR})
|