Skip to content

Commit 99bed6a

Browse files
Miro Buckokusmour
authored andcommitted
Add SystemRuntimeMetaCoroutine plugin to enable coroutine stack traces.
Summary: When 'displayExtendedBacktrace' flag is set to true in the launch.json, the coroutine stack trace will be added at the end of the normal stack trace. Can enable logs with: ``` (lldb) log enable lldb system-runtime ``` Test Plan: Manually tested with admarket/adfinder:adfinder target. Retrieving an async stack trace of size 5-10 takes around 5-7ms {F1967331044} Reviewers: jeffreytan, gclayton Reviewed By: jeffreytan Subscribers: #lldb_team Differential Revision: https://phabricator.intern.facebook.com/D66459927
1 parent 2b9983d commit 99bed6a

File tree

4 files changed

+536
-0
lines changed

4 files changed

+536
-0
lines changed

lldb/source/Plugins/SystemRuntime/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ set_property(DIRECTORY PROPERTY LLDB_PLUGIN_KIND SystemRuntime)
22
set_property(DIRECTORY PROPERTY LLDB_TOLERATED_PLUGIN_DEPENDENCIES TypeSystem)
33

44
add_subdirectory(MacOSX)
5+
add_subdirectory(MetaCoroutine)
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
add_lldb_library(lldbPluginSystemRuntimeMetaCoroutine PLUGIN
2+
SystemRuntimeMetaCoroutine.cpp
3+
)

0 commit comments

Comments
 (0)