aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorMichał Górny <mgorny@moritz.systems>2022-06-10 15:53:11 +0200
committerMichał Górny <mgorny@moritz.systems>2022-06-24 17:20:23 +0200
commite8fe7e930a45764cbb88d9c3fa91ef7dc1ebcc97 (patch)
tree626c3a4093b2f4b1aa092d9f495d36916aef8abe /clang/lib/Frontend/CompilerInvocation.cpp
parent8ad4c6e4b1299d599c0b6defe6a9e90a417c7ba8 (diff)
downloadllvm-e8fe7e930a45764cbb88d9c3fa91ef7dc1ebcc97.zip
llvm-e8fe7e930a45764cbb88d9c3fa91ef7dc1ebcc97.tar.gz
llvm-e8fe7e930a45764cbb88d9c3fa91ef7dc1ebcc97.tar.bz2
[lldb] [llgs] Make `k` kill all processes, and fix multiple exits
Modify the behavior of the `k` packet to kill all inferiors rather than just the current one. The specification leaves the exact behavior of this packet up to the implementation but since vKill is specifically meant to be used to kill a single process, it seems logical to use `k` to provide the alternate function of killing all of them. Move starting stdio forwarding from the "running" response to the packet handlers that trigger the process to start. This avoids attempting to start it multiple times when multiple processes are killed on Linux which implicitly causes LLGS to receive "started" events for all of them. This is probably also more correct as the ability to send "O" packets is implied by the continue-like command being issued (and therefore the client waiting for responses) rather than the start notification. Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.llvm.org/D127500
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions