[Lldb-commits] [PATCH] D120321: [lldb] Modernize ThreadLauncher

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Feb 22 06:16:24 PST 2022


labath created this revision.
labath added a reviewer: JDevlieghere.
Herald added a subscriber: mgorny.
labath requested review of this revision.
Herald added a project: LLDB.

Accept a function object instead of a raw pointer. This avoids a bunch
of boilerplate typically needed to pass arguments to the thread
functions.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D120321

Files:
  lldb/include/lldb/Core/Communication.h
  lldb/include/lldb/Core/Debugger.h
  lldb/include/lldb/Host/ThreadLauncher.h
  lldb/include/lldb/Target/Process.h
  lldb/source/API/SBHostOS.cpp
  lldb/source/Core/Communication.cpp
  lldb/source/Core/Debugger.cpp
  lldb/source/Host/common/Host.cpp
  lldb/source/Host/common/HostNativeThreadBase.cpp
  lldb/source/Host/common/ThreadLauncher.cpp
  lldb/source/Host/macosx/objcxx/Host.mm
  lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp
  lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.h
  lldb/source/Plugins/Process/Windows/Common/DebuggerThread.cpp
  lldb/source/Plugins/Process/Windows/Common/DebuggerThread.h
  lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
  lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.h
  lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
  lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
  lldb/source/Target/Process.cpp
  lldb/unittests/Host/CMakeLists.txt
  lldb/unittests/Host/ThreadLauncherTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D120321.410517.patch
Type: text/x-patch
Size: 42253 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20220222/1de5c8b6/attachment-0001.bin>


More information about the lldb-commits mailing list