llvm-project/lldb/source
Jim Ingham f22db1fabf Fix StopInfoBreakpoint::ShouldNotify when a callback deletes the site we hit.
When we hit a breakpoint site all of whose owners are internal, we don't
broadcast that event to the public event queue.  However, we were checking
whether that was true in the ShouldNotify method, which gets run after the
breakpoint callbacks get run.  If the breakpoint callback deletes the site
we just hit, we no longer have the information to make that determination.

This patch just gathers the "was all internal" fact when the StopInfoBreakpoint
gets made, which happens before anyone has a chance to delete the site, and then
uses that cached value.

This bug was causing a couple of tests (including TestStopAtEntry.py) to fail
when using new the macOS Ventura dyld support.

Differential Revision: https://reviews.llvm.org/D127997
2022-06-16 11:54:11 -07:00
..
API Pass plugin_name in SBProcess::SaveCore 2022-06-09 16:29:50 +02:00
Breakpoint Revert "[lldb] Consider binary as module of last resort" 2022-05-23 11:19:48 +05:00
Commands [LLDB] CommandObjectThreadUntil::DoExecute() sets the wrong selected thread ID 2022-06-15 08:52:29 +05:30
Core [lldb] Set COFF module ABI from default triple and make it an option 2022-06-09 22:43:33 +03:00
DataFormatters [lldb] Add setting for max depth of value object printing (NFC) 2022-05-03 10:39:42 -07:00
Expression Decr pc when looking for DWARF loc list entry mid-stack 2022-04-29 14:34:06 -07:00
Host [trace][intelpt] Support system-wide tracing [9] - Collect and return context switch traces 2022-06-15 12:07:59 -07:00
Initialization [lldb] Remove FileSystem::Initialize from FileCollector 2022-03-03 13:22:38 -08:00
Interpreter Fix `script -lpython` to handle control flow in one-line commands. 2022-06-15 22:20:48 -07:00
Plugins [trace][intelpt] Support system-wide tracing [22] - Some final touches 2022-06-16 11:42:22 -07:00
Symbol [lldb] Add gnu-debuglink support for Windows PE/COFF 2022-06-09 14:39:33 +03:00
Target Fix StopInfoBreakpoint::ShouldNotify when a callback deletes the site we hit. 2022-06-16 11:54:11 -07:00
Utility [trace][intelpt] Support system-wide tracing [21] - Support long numbers in JSON 2022-06-16 11:42:22 -07:00
Version [lldb] Fix LLDB_FULL_VERSION_STRING 2022-01-19 14:20:22 -08:00
CMakeLists.txt [lldb] Make lldbVersion a full fledged library 2021-12-08 15:14:34 -08:00