This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch master in repository lldb.
from d1f29e0 Fixed a problem where we failed to get the size of an Objecti [...] new 1d88584 Add StructuredData plugin type; showcase with new DarwinLog feature
The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference.
Summary of changes: .gitignore | 11 + cmake/LLDBDependencies.cmake | 1 + docs/structured_data/DarwinLog.md | 160 ++ docs/structured_data/StructuredDataPlugins.md | 136 ++ include/lldb/API/LLDB.h | 1 + include/lldb/API/SBDefines.h | 1 + include/lldb/API/SBError.h | 1 + include/lldb/API/SBProcess.h | 11 +- include/lldb/API/SBStream.h | 1 + include/lldb/API/SBStructuredData.h | 52 + include/lldb/Core/Broadcaster.h | 9 +- include/lldb/Core/Event.h | 75 + include/lldb/Core/PluginManager.h | 69 + include/lldb/Interpreter/Args.h | 19 +- include/lldb/Target/Process.h | 128 +- include/lldb/Target/StructuredDataPlugin.h | 204 ++ include/lldb/Target/ThreadPlanCallOnFunctionExit.h | 69 + include/lldb/lldb-forward.h | 7 + include/lldb/lldb-private-interfaces.h | 3 + lldb.xcodeproj/project.pbxproj | 74 +- packages/Python/lldbsuite/test/darwin_log.py | 430 ++++ .../basic}/Makefile | 0 .../darwin_log/basic/TestDarwinLogBasic.py | 34 + .../test/functionalities/darwin_log/basic/main.c | 32 + .../darwin_log/common/darwin_log_common.h | 6 + .../filter/exact_match/activity-chain/Makefile | 5 + .../TestDarwinLogFilterMatchActivityChain.py | 117 + .../filter/exact_match/activity-chain/main.c | 43 + .../filter/exact_match/activity/Makefile | 5 + .../activity/TestDarwinLogFilterMatchActivity.py | 121 + .../darwin_log/filter/exact_match/activity/main.c | 43 + .../filter/exact_match/category/Makefile | 5 + .../category/TestDarwinLogFilterMatchCategory.py | 118 + .../darwin_log/filter/exact_match/category/main.c | 43 + .../darwin_log/filter/exact_match/message/Makefile | 5 + .../message/TestDarwinLogFilterMatchMessage.py | 132 ++ .../darwin_log/filter/exact_match/message/main.c | 35 + .../filter/exact_match/subsystem/Makefile | 5 + .../subsystem/TestDarwinLogFilterMatchSubsystem.py | 118 + .../darwin_log/filter/exact_match/subsystem/main.c | 43 + .../filter/regex/activity-chain/Makefile | 5 + .../TestDarwinLogFilterRegexActivityChain.py | 132 ++ .../darwin_log/filter/regex/activity-chain/main.c | 43 + .../darwin_log/filter/regex/activity/Makefile | 5 + .../activity/TestDarwinLogFilterRegexActivity.py | 137 ++ .../darwin_log/filter/regex/activity/main.c | 43 + .../darwin_log/filter/regex/category/Makefile | 5 + .../category/TestDarwinLogFilterRegexCategory.py | 133 ++ .../darwin_log/filter/regex/category/main.c | 43 + .../darwin_log/filter/regex/message/Makefile | 5 + .../message/TestDarwinLogFilterRegexMessage.py | 118 + .../darwin_log/filter/regex/message/main.c | 35 + .../darwin_log/filter/regex/subsystem/Makefile | 5 + .../subsystem/TestDarwinLogFilterRegexSubsystem.py | 150 ++ .../darwin_log/filter/regex/subsystem/main.c | 43 + .../format}/Makefile | 0 .../format/TestDarwinLogMessageFormat.py | 189 ++ .../test/functionalities/darwin_log/format/main.c | 41 + .../darwin_log/source/debug/Makefile | 5 + .../source/debug/TestDarwinLogSourceDebug.py | 79 + .../functionalities/darwin_log/source/debug/main.c | 34 + .../darwin_log/source/info/Makefile | 5 + .../source/info/TestDarwinLogSourceInfo.py | 82 + .../functionalities/darwin_log/source/info/main.c | 34 + scripts/interface/SBProcess.i | 9 +- scripts/interface/SBStructuredData.i | 42 + scripts/interface/SBTarget.i | 2 +- scripts/lldb.swig | 2 + source/API/CMakeLists.txt | 1 + source/API/SBDebugger.cpp | 2 +- source/API/SBProcess.cpp | 31 +- source/API/SBStructuredData.cpp | 165 ++ source/API/SystemInitializerFull.cpp | 8 + source/Core/Debugger.cpp | 51 +- source/Core/Event.cpp | 169 ++ source/Core/PluginManager.cpp | 173 ++ source/Interpreter/Args.cpp | 46 +- .../Process/gdb-remote/GDBRemoteClientBase.cpp | 36 + .../Process/gdb-remote/GDBRemoteClientBase.h | 10 + .../gdb-remote/GDBRemoteCommunicationClient.cpp | 136 +- .../gdb-remote/GDBRemoteCommunicationClient.h | 51 + .../Process/gdb-remote/ProcessGDBRemote.cpp | 23 +- .../Plugins/Process/gdb-remote/ProcessGDBRemote.h | 7 + source/Plugins/StructuredData/CMakeLists.txt | 2 + .../StructuredData/DarwinLog/CMakeLists.txt | 5 + .../DarwinLog/StructuredDataDarwinLog.cpp | 2420 ++++++++++++++++++++ .../DarwinLog/StructuredDataDarwinLog.h | 164 ++ source/Target/CMakeLists.txt | 2 + source/Target/Platform.cpp | 29 +- source/Target/Process.cpp | 155 +- source/Target/StructuredDataPlugin.cpp | 89 + source/Target/ThreadPlanCallOnFunctionExit.cpp | 119 + .../debugserver.xcodeproj/project.pbxproj | 151 +- tools/debugserver/source/CMakeLists.txt | 6 + tools/debugserver/source/DNB.cpp | 7 + tools/debugserver/source/DNB.h | 3 + tools/debugserver/source/DNBDefs.h | 1 + tools/debugserver/source/JSON.cpp | 746 ++++++ tools/debugserver/source/JSON.h | 382 +++ tools/debugserver/source/MacOSX/CMakeLists.txt | 3 + .../source/MacOSX/DarwinLog/ActivityStore.cpp | 18 + .../source/MacOSX/DarwinLog/ActivityStore.h | 36 + .../source/MacOSX/DarwinLog/ActivityStreamSPI.h | 200 ++ .../source/MacOSX/DarwinLog/CMakeLists.txt | 15 + .../source/MacOSX/DarwinLog/DarwinLogCollector.cpp | 835 +++++++ .../source/MacOSX/DarwinLog/DarwinLogCollector.h | 139 ++ .../source/MacOSX/DarwinLog/DarwinLogEvent.h | 27 + .../source/MacOSX/DarwinLog/DarwinLogInterfaces.h | 25 + .../source/MacOSX/DarwinLog/DarwinLogTypes.h | 23 + .../source/MacOSX/DarwinLog/LogFilter.cpp | 14 + .../source/MacOSX/DarwinLog/LogFilter.h | 44 + .../source/MacOSX/DarwinLog/LogFilterChain.cpp | 61 + .../source/MacOSX/DarwinLog/LogFilterChain.h | 48 + .../MacOSX/DarwinLog/LogFilterExactMatch.cpp | 57 + .../source/MacOSX/DarwinLog/LogFilterExactMatch.h | 36 + .../source/MacOSX/DarwinLog/LogFilterRegex.cpp | 118 + .../source/MacOSX/DarwinLog/LogFilterRegex.h | 58 + .../source/MacOSX/DarwinLog/LogMessage.cpp | 19 + .../source/MacOSX/DarwinLog/LogMessage.h | 53 + .../source/MacOSX/DarwinLog/LogMessageOsLog.cpp | 95 + .../source/MacOSX/DarwinLog/LogMessageOsLog.h | 73 + tools/debugserver/source/MacOSX/OsLogger.cpp | 71 + tools/debugserver/source/MacOSX/OsLogger.h | 24 + tools/debugserver/source/RNBContext.cpp | 2 + tools/debugserver/source/RNBContext.h | 20 +- tools/debugserver/source/RNBRemote.cpp | 267 ++- tools/debugserver/source/RNBRemote.h | 6 + tools/debugserver/source/debugserver.cpp | 24 +- tools/lldb-mi/MICmnLLDBDebugger.cpp | 3 +- tools/lldb-mi/MICmnLLDBDebuggerHandleEvents.cpp | 3 + 130 files changed, 11345 insertions(+), 60 deletions(-) create mode 100644 docs/structured_data/DarwinLog.md create mode 100644 docs/structured_data/StructuredDataPlugins.md create mode 100644 include/lldb/API/SBStructuredData.h create mode 100644 include/lldb/Target/StructuredDataPlugin.h create mode 100644 include/lldb/Target/ThreadPlanCallOnFunctionExit.h create mode 100644 packages/Python/lldbsuite/test/darwin_log.py copy packages/Python/lldbsuite/test/functionalities/{breakpoint/breakpoint_ignore_ [...] create mode 100644 packages/Python/lldbsuite/test/functionalities/darwin_log/basic [...] create mode 100644 packages/Python/lldbsuite/test/functionalities/darwin_log/basic/main.c create mode 100644 packages/Python/lldbsuite/test/functionalities/darwin_log/commo [...] create mode 100644 packages/Python/lldbsuite/test/functionalities/darwin_log/filte [...] create mode 100644 packages/Python/lldbsuite/test/functionalities/darwin_log/filte [...] create mode 100644 packages/Python/lldbsuite/test/functionalities/darwin_log/filte [...] create mode 100644 packages/Python/lldbsuite/test/functionalities/darwin_log/filte [...] create mode 100644 packages/Python/lldbsuite/test/functionalities/darwin_log/filte [...] create mode 100644 packages/Python/lldbsuite/test/functionalities/darwin_log/filte [...] create mode 100644 packages/Python/lldbsuite/test/functionalities/darwin_log/filte [...] create mode 100644 packages/Python/lldbsuite/test/functionalities/darwin_log/filte [...] create mode 100644 packages/Python/lldbsuite/test/functionalities/darwin_log/filte [...] create mode 100644 packages/Python/lldbsuite/test/functionalities/darwin_log/filte [...] create mode 100644 packages/Python/lldbsuite/test/functionalities/darwin_log/filte [...] create mode 100644 packages/Python/lldbsuite/test/functionalities/darwin_log/filte [...] create mode 100644 packages/Python/lldbsuite/test/functionalities/darwin_log/filte [...] create mode 100644 packages/Python/lldbsuite/test/functionalities/darwin_log/filte [...] create mode 100644 packages/Python/lldbsuite/test/functionalities/darwin_log/filte [...] create mode 100644 packages/Python/lldbsuite/test/functionalities/darwin_log/filte [...] create mode 100644 packages/Python/lldbsuite/test/functionalities/darwin_log/filte [...] create mode 100644 packages/Python/lldbsuite/test/functionalities/darwin_log/filte [...] create mode 100644 packages/Python/lldbsuite/test/functionalities/darwin_log/filte [...] create mode 100644 packages/Python/lldbsuite/test/functionalities/darwin_log/filte [...] create mode 100644 packages/Python/lldbsuite/test/functionalities/darwin_log/filte [...] create mode 100644 packages/Python/lldbsuite/test/functionalities/darwin_log/filte [...] create mode 100644 packages/Python/lldbsuite/test/functionalities/darwin_log/filte [...] create mode 100644 packages/Python/lldbsuite/test/functionalities/darwin_log/filte [...] create mode 100644 packages/Python/lldbsuite/test/functionalities/darwin_log/filte [...] create mode 100644 packages/Python/lldbsuite/test/functionalities/darwin_log/filte [...] create mode 100644 packages/Python/lldbsuite/test/functionalities/darwin_log/filte [...] create mode 100644 packages/Python/lldbsuite/test/functionalities/darwin_log/filte [...] create mode 100644 packages/Python/lldbsuite/test/functionalities/darwin_log/filte [...] create mode 100644 packages/Python/lldbsuite/test/functionalities/darwin_log/filte [...] copy packages/Python/lldbsuite/test/functionalities/{breakpoint/breakpoint_ignore_ [...] create mode 100644 packages/Python/lldbsuite/test/functionalities/darwin_log/forma [...] create mode 100644 packages/Python/lldbsuite/test/functionalities/darwin_log/forma [...] create mode 100644 packages/Python/lldbsuite/test/functionalities/darwin_log/sourc [...] create mode 100644 packages/Python/lldbsuite/test/functionalities/darwin_log/sourc [...] create mode 100644 packages/Python/lldbsuite/test/functionalities/darwin_log/sourc [...] create mode 100644 packages/Python/lldbsuite/test/functionalities/darwin_log/sourc [...] create mode 100644 packages/Python/lldbsuite/test/functionalities/darwin_log/sourc [...] create mode 100644 packages/Python/lldbsuite/test/functionalities/darwin_log/sourc [...] create mode 100644 scripts/interface/SBStructuredData.i create mode 100644 source/API/SBStructuredData.cpp create mode 100644 source/Plugins/StructuredData/CMakeLists.txt create mode 100644 source/Plugins/StructuredData/DarwinLog/CMakeLists.txt create mode 100644 source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp create mode 100644 source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.h create mode 100644 source/Target/StructuredDataPlugin.cpp create mode 100644 source/Target/ThreadPlanCallOnFunctionExit.cpp create mode 100644 tools/debugserver/source/JSON.cpp create mode 100644 tools/debugserver/source/JSON.h create mode 100644 tools/debugserver/source/MacOSX/DarwinLog/ActivityStore.cpp create mode 100644 tools/debugserver/source/MacOSX/DarwinLog/ActivityStore.h create mode 100644 tools/debugserver/source/MacOSX/DarwinLog/ActivityStreamSPI.h create mode 100644 tools/debugserver/source/MacOSX/DarwinLog/CMakeLists.txt create mode 100644 tools/debugserver/source/MacOSX/DarwinLog/DarwinLogCollector.cpp create mode 100644 tools/debugserver/source/MacOSX/DarwinLog/DarwinLogCollector.h create mode 100644 tools/debugserver/source/MacOSX/DarwinLog/DarwinLogEvent.h create mode 100644 tools/debugserver/source/MacOSX/DarwinLog/DarwinLogInterfaces.h create mode 100644 tools/debugserver/source/MacOSX/DarwinLog/DarwinLogTypes.h create mode 100644 tools/debugserver/source/MacOSX/DarwinLog/LogFilter.cpp create mode 100644 tools/debugserver/source/MacOSX/DarwinLog/LogFilter.h create mode 100644 tools/debugserver/source/MacOSX/DarwinLog/LogFilterChain.cpp create mode 100644 tools/debugserver/source/MacOSX/DarwinLog/LogFilterChain.h create mode 100644 tools/debugserver/source/MacOSX/DarwinLog/LogFilterExactMatch.cpp create mode 100644 tools/debugserver/source/MacOSX/DarwinLog/LogFilterExactMatch.h create mode 100644 tools/debugserver/source/MacOSX/DarwinLog/LogFilterRegex.cpp create mode 100644 tools/debugserver/source/MacOSX/DarwinLog/LogFilterRegex.h create mode 100644 tools/debugserver/source/MacOSX/DarwinLog/LogMessage.cpp create mode 100644 tools/debugserver/source/MacOSX/DarwinLog/LogMessage.h create mode 100644 tools/debugserver/source/MacOSX/DarwinLog/LogMessageOsLog.cpp create mode 100644 tools/debugserver/source/MacOSX/DarwinLog/LogMessageOsLog.h create mode 100644 tools/debugserver/source/MacOSX/OsLogger.cpp create mode 100644 tools/debugserver/source/MacOSX/OsLogger.h