aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp
diff options
context:
space:
mode:
authorRyan Brown <ribrdb@google.com>2015-09-16 21:20:44 +0000
committerRyan Brown <ribrdb@google.com>2015-09-16 21:20:44 +0000
commit65d4d5c3c6d742855f572d1306af93fabe015b0a (patch)
treef6a840baed06cdc87a15c0610b45fcad359fbe10 /lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp
parent8be1847b09e358cacfb6219e8b0cdeaf77f1b9fe (diff)
downloadllvm-65d4d5c3c6d742855f572d1306af93fabe015b0a.zip
llvm-65d4d5c3c6d742855f572d1306af93fabe015b0a.tar.gz
llvm-65d4d5c3c6d742855f572d1306af93fabe015b0a.tar.bz2
Add an OperatingSystem plugin to support goroutines
The Go runtime schedules user level threads (goroutines) across real threads. This adds an OS plugin to create memory threads for goroutines. It supports the 1.4 and 1.5 go runtime. Differential Revision: http://reviews.llvm.org/D5871 llvm-svn: 247852
Diffstat (limited to 'lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp')
-rw-r--r--lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp b/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp
index 93a52d1..a556b0e 100644
--- a/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp
+++ b/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp
@@ -42,9 +42,7 @@ using namespace lldb_private;
void
OperatingSystemPython::Initialize()
{
- PluginManager::RegisterPlugin (GetPluginNameStatic(),
- GetPluginDescriptionStatic(),
- CreateInstance);
+ PluginManager::RegisterPlugin(GetPluginNameStatic(), GetPluginDescriptionStatic(), CreateInstance, nullptr);
}
void