[all-commits] [llvm/llvm-project] 2db782: [lldb] [llgs] Fix assertion in Handle_qfThreadInfo...
Ayush Sahay via All-commits
all-commits at lists.llvm.org
Thu Apr 25 10:00:24 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2db782047b295730cd018b2641a16461f87ce55e
https://github.com/llvm/llvm-project/commit/2db782047b295730cd018b2641a16461f87ce55e
Author: Ayush Sahay <quic_asahay at quicinc.com>
Date: 2024-04-25 (Thu, 25 Apr 2024)
Changed paths:
M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
Log Message:
-----------
[lldb] [llgs] Fix assertion in Handle_qfThreadInfo (#88301)
Currently, GDBRemoteCommunicationServerLLGS::Handle_qfThreadInfo asserts
if the number of processes under debug isn’t 1 and the multiprocess
feature isn’t supported. This is so that we don't string IDs of threads
belonging to different processes together without including the IDs of
the processes themselves in the response when there are multiple
processes under debug. However, it’s conceivable that we have no process
under debug and the multiprocess feature isn’t supported. So, have
GDBRemoteCommunicationServerLLGS::Handle_qfThreadInfo assert if the
number of processes under debug is greater than 1 and the multiprocess
feature isn’t supported.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list