Add StructuredData plugin type; showcase with new DarwinLog feature
authorTodd Fiala <todd.fiala@gmail.com>
Fri, 19 Aug 2016 02:52:07 +0000 (02:52 +0000)
committerTodd Fiala <todd.fiala@gmail.com>
Fri, 19 Aug 2016 02:52:07 +0000 (02:52 +0000)
commitaef7de8492f482254b6bf8d61430ccfd5cda1199
treeb29c4ab0bac0642c2c766488e173646c7fabcc66
parente8529c28f1c109e0c5f7be3ff96b17248c69b9bb
Add StructuredData plugin type; showcase with new DarwinLog feature

See docs/structured_data/StructuredDataPlugins.md for details.

differential review: https://reviews.llvm.org/D22976

reviewers: clayborg, jingham
llvm-svn: 279198
130 files changed:
lldb/.gitignore
lldb/cmake/LLDBDependencies.cmake
lldb/docs/structured_data/DarwinLog.md [new file with mode: 0644]
lldb/docs/structured_data/StructuredDataPlugins.md [new file with mode: 0644]
lldb/include/lldb/API/LLDB.h
lldb/include/lldb/API/SBDefines.h
lldb/include/lldb/API/SBError.h
lldb/include/lldb/API/SBProcess.h
lldb/include/lldb/API/SBStream.h
lldb/include/lldb/API/SBStructuredData.h [new file with mode: 0644]
lldb/include/lldb/Core/Broadcaster.h
lldb/include/lldb/Core/Event.h
lldb/include/lldb/Core/PluginManager.h
lldb/include/lldb/Interpreter/Args.h
lldb/include/lldb/Target/Process.h
lldb/include/lldb/Target/StructuredDataPlugin.h [new file with mode: 0644]
lldb/include/lldb/Target/ThreadPlanCallOnFunctionExit.h [new file with mode: 0644]
lldb/include/lldb/lldb-forward.h
lldb/include/lldb/lldb-private-interfaces.h
lldb/lldb.xcodeproj/project.pbxproj
lldb/packages/Python/lldbsuite/test/darwin_log.py [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/functionalities/darwin_log/basic/Makefile [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/functionalities/darwin_log/basic/TestDarwinLogBasic.py [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/functionalities/darwin_log/basic/main.c [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/functionalities/darwin_log/common/darwin_log_common.h [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/exact_match/activity-chain/Makefile [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/exact_match/activity-chain/TestDarwinLogFilterMatchActivityChain.py [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/exact_match/activity-chain/main.c [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/exact_match/activity/Makefile [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/exact_match/activity/TestDarwinLogFilterMatchActivity.py [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/exact_match/activity/main.c [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/exact_match/category/Makefile [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/exact_match/category/TestDarwinLogFilterMatchCategory.py [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/exact_match/category/main.c [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/exact_match/message/Makefile [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/exact_match/message/TestDarwinLogFilterMatchMessage.py [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/exact_match/message/main.c [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/exact_match/subsystem/Makefile [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/exact_match/subsystem/TestDarwinLogFilterMatchSubsystem.py [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/exact_match/subsystem/main.c [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/regex/activity-chain/Makefile [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/regex/activity-chain/TestDarwinLogFilterRegexActivityChain.py [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/regex/activity-chain/main.c [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/regex/activity/Makefile [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/regex/activity/TestDarwinLogFilterRegexActivity.py [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/regex/activity/main.c [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/regex/category/Makefile [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/regex/category/TestDarwinLogFilterRegexCategory.py [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/regex/category/main.c [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/regex/message/Makefile [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/regex/message/TestDarwinLogFilterRegexMessage.py [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/regex/message/main.c [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/regex/subsystem/Makefile [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/regex/subsystem/TestDarwinLogFilterRegexSubsystem.py [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/regex/subsystem/main.c [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/functionalities/darwin_log/format/Makefile [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/functionalities/darwin_log/format/TestDarwinLogMessageFormat.py [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/functionalities/darwin_log/format/main.c [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/functionalities/darwin_log/source/debug/Makefile [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/functionalities/darwin_log/source/debug/TestDarwinLogSourceDebug.py [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/functionalities/darwin_log/source/debug/main.c [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/functionalities/darwin_log/source/info/Makefile [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/functionalities/darwin_log/source/info/TestDarwinLogSourceInfo.py [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/functionalities/darwin_log/source/info/main.c [new file with mode: 0644]
lldb/scripts/interface/SBProcess.i
lldb/scripts/interface/SBStructuredData.i [new file with mode: 0644]
lldb/scripts/interface/SBTarget.i
lldb/scripts/lldb.swig
lldb/source/API/CMakeLists.txt
lldb/source/API/SBDebugger.cpp
lldb/source/API/SBProcess.cpp
lldb/source/API/SBStructuredData.cpp [new file with mode: 0644]
lldb/source/API/SystemInitializerFull.cpp
lldb/source/Core/Debugger.cpp
lldb/source/Core/Event.cpp
lldb/source/Core/PluginManager.cpp
lldb/source/Interpreter/Args.cpp
lldb/source/Plugins/Process/gdb-remote/GDBRemoteClientBase.cpp
lldb/source/Plugins/Process/gdb-remote/GDBRemoteClientBase.h
lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
lldb/source/Plugins/StructuredData/CMakeLists.txt [new file with mode: 0644]
lldb/source/Plugins/StructuredData/DarwinLog/CMakeLists.txt [new file with mode: 0644]
lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp [new file with mode: 0644]
lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.h [new file with mode: 0644]
lldb/source/Target/CMakeLists.txt
lldb/source/Target/Platform.cpp
lldb/source/Target/Process.cpp
lldb/source/Target/StructuredDataPlugin.cpp [new file with mode: 0644]
lldb/source/Target/ThreadPlanCallOnFunctionExit.cpp [new file with mode: 0644]
lldb/tools/debugserver/debugserver.xcodeproj/project.pbxproj
lldb/tools/debugserver/source/CMakeLists.txt
lldb/tools/debugserver/source/DNB.cpp
lldb/tools/debugserver/source/DNB.h
lldb/tools/debugserver/source/DNBDefs.h
lldb/tools/debugserver/source/JSON.cpp [new file with mode: 0644]
lldb/tools/debugserver/source/JSON.h [new file with mode: 0644]
lldb/tools/debugserver/source/MacOSX/CMakeLists.txt
lldb/tools/debugserver/source/MacOSX/DarwinLog/ActivityStore.cpp [new file with mode: 0644]
lldb/tools/debugserver/source/MacOSX/DarwinLog/ActivityStore.h [new file with mode: 0644]
lldb/tools/debugserver/source/MacOSX/DarwinLog/ActivityStreamSPI.h [new file with mode: 0644]
lldb/tools/debugserver/source/MacOSX/DarwinLog/CMakeLists.txt [new file with mode: 0644]
lldb/tools/debugserver/source/MacOSX/DarwinLog/DarwinLogCollector.cpp [new file with mode: 0644]
lldb/tools/debugserver/source/MacOSX/DarwinLog/DarwinLogCollector.h [new file with mode: 0644]
lldb/tools/debugserver/source/MacOSX/DarwinLog/DarwinLogEvent.h [new file with mode: 0644]
lldb/tools/debugserver/source/MacOSX/DarwinLog/DarwinLogInterfaces.h [new file with mode: 0644]
lldb/tools/debugserver/source/MacOSX/DarwinLog/DarwinLogTypes.h [new file with mode: 0644]
lldb/tools/debugserver/source/MacOSX/DarwinLog/LogFilter.cpp [new file with mode: 0644]
lldb/tools/debugserver/source/MacOSX/DarwinLog/LogFilter.h [new file with mode: 0644]
lldb/tools/debugserver/source/MacOSX/DarwinLog/LogFilterChain.cpp [new file with mode: 0644]
lldb/tools/debugserver/source/MacOSX/DarwinLog/LogFilterChain.h [new file with mode: 0644]
lldb/tools/debugserver/source/MacOSX/DarwinLog/LogFilterExactMatch.cpp [new file with mode: 0644]
lldb/tools/debugserver/source/MacOSX/DarwinLog/LogFilterExactMatch.h [new file with mode: 0644]
lldb/tools/debugserver/source/MacOSX/DarwinLog/LogFilterRegex.cpp [new file with mode: 0644]
lldb/tools/debugserver/source/MacOSX/DarwinLog/LogFilterRegex.h [new file with mode: 0644]
lldb/tools/debugserver/source/MacOSX/DarwinLog/LogMessage.cpp [new file with mode: 0644]
lldb/tools/debugserver/source/MacOSX/DarwinLog/LogMessage.h [new file with mode: 0644]
lldb/tools/debugserver/source/MacOSX/DarwinLog/LogMessageOsLog.cpp [new file with mode: 0644]
lldb/tools/debugserver/source/MacOSX/DarwinLog/LogMessageOsLog.h [new file with mode: 0644]
lldb/tools/debugserver/source/MacOSX/OsLogger.cpp [new file with mode: 0644]
lldb/tools/debugserver/source/MacOSX/OsLogger.h [new file with mode: 0644]
lldb/tools/debugserver/source/RNBContext.cpp
lldb/tools/debugserver/source/RNBContext.h
lldb/tools/debugserver/source/RNBRemote.cpp
lldb/tools/debugserver/source/RNBRemote.h
lldb/tools/debugserver/source/debugserver.cpp
lldb/tools/lldb-mi/MICmnLLDBDebugger.cpp
lldb/tools/lldb-mi/MICmnLLDBDebuggerHandleEvents.cpp