aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorJaroslav Sevcik <jarin@google.com>2020-05-20 10:59:57 +0200
committerPavel Labath <pavel@labath.sk>2020-05-20 11:08:34 +0200
commit56de738d18e11c86169f0248b97b2854c37e35ce (patch)
treee85a79423471c4ef10d7c0b7cb27b2516046e8fa /clang/lib/Frontend/CompilerInvocation.cpp
parent51446c13f6229561db13718555a1b4993caac209 (diff)
downloadllvm-56de738d18e11c86169f0248b97b2854c37e35ce.zip
llvm-56de738d18e11c86169f0248b97b2854c37e35ce.tar.gz
llvm-56de738d18e11c86169f0248b97b2854c37e35ce.tar.bz2
[lldb-server] Reset stop reason of all threads when resuming
Summary: This patch makes the stop reason reset logic similar to MacOS' debugserver, where exceptions are reset for all threads when resuming process for stepping or continuing (see [[ https://github.com/llvm/llvm-project/blob/96f3ea0d21b48ca088355db10d4d1a2e9bc9f884/lldb/tools/debugserver/source/MacOSX/MachThreadList.cpp#L433 | MachThreadList::ProcessWillResume ]] and [[ https://github.com/llvm/llvm-project/blob/96f3ea0d21b48ca088355db10d4d1a2e9bc9f884/lldb/tools/debugserver/source/MacOSX/MachThread.cpp#L363 | MachThread::ThreadWillResume ]]). Resetting stop reasons on resume fixes problems where LLDB spuriously reports SIGTRAP signal stop reason for deleted breakpoints (both internal and public) and where LLDB stops on an internal breakpoint while stepping over while a breakpoint is hit in another thread. See [[ https://bugs.llvm.org/show_bug.cgi?id=45642 | PR45642 ]] for details. Reviewed By: jingham, labath Differential Revision: https://reviews.llvm.org/D79308
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions