This is an archive of the discontinued LLVM Phabricator instance.

[lldb/Plugins] Enrich ScriptedThreads Stop Reasons with Exceptions
ClosedPublic

Authored by mib on Jan 11 2022, 6:22 PM.

Details

Summary

This patch adds Exceptions to the list of supported stop reasons for
Scripted Threads.

The main motivation for this is that breakpoints are triggered as a
special exception class on ARM platforms, so adding it as a stop reason
allows the ScriptedProcess to selected the ScriptedThread that stopped at
a breakpoint (or crashed :p).

rdar://87430376

Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>

Diff Detail

Event Timeline

mib created this revision.Jan 11 2022, 6:22 PM
mib requested review of this revision.Jan 11 2022, 6:22 PM
mib updated this revision to Diff 399164.Jan 11 2022, 6:41 PM

Update test.

JDevlieghere added inline comments.Jan 14 2022, 12:22 PM
lldb/source/Plugins/Process/scripted/ScriptedThread.cpp
174

This seems unused?

mib updated this revision to Diff 400202.Jan 14 2022, 5:05 PM
mib marked an inline comment as done.

Remove dead-code.

This revision is now accepted and ready to land.Jan 14 2022, 7:10 PM
mib updated this revision to Diff 400802.Jan 18 2022, 3:51 AM

Rebase

This revision was landed with ongoing or failed builds.Jan 24 2022, 11:27 AM
This revision was automatically updated to reflect the committed changes.