llvm-project/lldb/source/Target
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
..
ABI.cpp [lldb] Rename Logging.h to LLDBLog.h and clean up includes 2022-02-03 14:47:01 +01:00
AssertFrameRecognizer.cpp [lldb] Rename Logging.h to LLDBLog.h and clean up includes 2022-02-03 14:47:01 +01:00
CMakeLists.txt [lldb] Add MemoryTagMap class 2022-01-26 13:55:48 +00:00
DynamicRegisterInfo.cpp [lldb] Rename Logging.h to LLDBLog.h and clean up includes 2022-02-03 14:47:01 +01:00
ExecutionContext.cpp [LLDB] Applying clang-tidy modernize-use-equals-default over LLDB 2022-03-31 13:21:49 -07:00
InstrumentationRuntime.cpp
InstrumentationRuntimeStopInfo.cpp
JITLoader.cpp
JITLoaderList.cpp [lldb] Replace default bodies of special member functions with = default; 2021-07-02 11:31:16 -07:00
Language.cpp We don't require users to type out the full context of a function, for 2022-05-12 12:39:28 -07:00
LanguageRuntime.cpp [LLDB] Applying clang-tidy modernize-use-default-member-init over LLDB 2022-03-14 13:32:03 -07:00
Memory.cpp [lldb] Rename Logging.h to LLDBLog.h and clean up includes 2022-02-03 14:47:01 +01:00
MemoryHistory.cpp
MemoryRegionInfo.cpp [lldb][AArch64/Linux] Show memory tagged memory regions 2020-11-20 11:21:59 +00:00
MemoryTagMap.cpp [lldb] Add MemoryTagMap class 2022-01-26 13:55:48 +00:00
ModuleCache.cpp [lldb] Rename Logging.h to LLDBLog.h and clean up includes 2022-02-03 14:47:01 +01:00
OperatingSystem.cpp [lldb] Remove ConstString from GetPluginNameStatic of some plugins 2021-10-21 12:58:45 +02:00
PathMappingList.cpp [LLDB] Applying clang-tidy modernize-use-default-member-init over LLDB 2022-03-14 13:32:03 -07:00
Platform.cpp Add a darwin platform setting to specify which exceptions debugserver 2022-05-18 10:16:11 -07:00
Process.cpp Store a by name list of signals with their actions in the Target 2022-05-26 14:50:33 -07:00
ProcessTrace.cpp [lldb] Remove non-address bits from read/write addresses in lldb 2022-05-18 12:59:34 +01:00
Queue.cpp
QueueItem.cpp [lldb] Replace default bodies of special member functions with = default; 2021-07-02 11:31:16 -07:00
QueueList.cpp
RegisterContext.cpp Recommit: [lldb] Remove "dwarf dynamic register size expressions" from RegisterInfo 2021-10-07 11:15:00 +02:00
RegisterContextUnwind.cpp Decr return pc mid-stack when picking UnwindPlan row 2022-05-05 14:18:21 -07:00
RegisterNumber.cpp [lldb] Use C++11 default member initializers 2021-06-09 09:43:13 -07:00
RemoteAwarePlatform.cpp [lldb] Move host platform implementations into the base class 2022-04-05 11:22:37 +02:00
SectionLoadHistory.cpp
SectionLoadList.cpp [lldb] Rename Logging.h to LLDBLog.h and clean up includes 2022-02-03 14:47:01 +01:00
StackFrame.cpp [lldb] Support non-pointer implicit this/self in GetValueForVariableExpressionPath 2022-06-15 22:04:02 -07:00
StackFrameList.cpp [lldb] Rename Logging.h to LLDBLog.h and clean up includes 2022-02-03 14:47:01 +01:00
StackFrameRecognizer.cpp
StackID.cpp
Statistics.cpp Introduce new symbol on-demand for debug info 2022-04-26 10:42:06 -07:00
StopInfo.cpp Fix StopInfoBreakpoint::ShouldNotify when a callback deletes the site we hit. 2022-06-16 11:54:11 -07:00
StructuredDataPlugin.cpp [lldb] Replace default bodies of special member functions with = default; 2021-07-02 11:31:16 -07:00
SystemRuntime.cpp
Target.cpp [lldb] Silence a GCC warning about missing returns after a fully covered switch. NFC. 2022-06-09 14:39:33 +03:00
TargetList.cpp [lldb] Remove the global platform list 2022-04-13 14:41:13 +02:00
TargetProperties.td Increase the default maximum stack walk 2022-05-28 13:12:57 -07:00
Thread.cpp [lldb][gui] make 'step out' step out of the selected frame 2022-04-05 08:29:13 +02:00
ThreadCollection.cpp [lldb][NFC] Use C++ versions of the deprecated C standard library headers 2021-05-26 12:46:12 +02:00
ThreadList.cpp [lldb] Rename Logging.h to LLDBLog.h and clean up includes 2022-02-03 14:47:01 +01:00
ThreadPlan.cpp [lldb] Rename Logging.h to LLDBLog.h and clean up includes 2022-02-03 14:47:01 +01:00
ThreadPlanBase.cpp [lldb] Rename Logging.h to LLDBLog.h and clean up includes 2022-02-03 14:47:01 +01:00
ThreadPlanCallFunction.cpp [lldb] Rename Logging.h to LLDBLog.h and clean up includes 2022-02-03 14:47:01 +01:00
ThreadPlanCallFunctionUsingABI.cpp
ThreadPlanCallOnFunctionExit.cpp [lldb][NFC] Inclusive Language: rename master plan to controlling plan 2021-11-11 15:04:44 -06:00
ThreadPlanCallUserExpression.cpp [lldb] Rename Logging.h to LLDBLog.h and clean up includes 2022-02-03 14:47:01 +01:00
ThreadPlanPython.cpp [lldb] Rename Logging.h to LLDBLog.h and clean up includes 2022-02-03 14:47:01 +01:00
ThreadPlanRunToAddress.cpp [lldb] Rename Logging.h to LLDBLog.h and clean up includes 2022-02-03 14:47:01 +01:00
ThreadPlanShouldStopHere.cpp [lldb] Rename Logging.h to LLDBLog.h and clean up includes 2022-02-03 14:47:01 +01:00
ThreadPlanStack.cpp Add a mutex to the ThreadPlanStackMap class. 2022-04-29 11:07:22 -07:00
ThreadPlanStepInRange.cpp [lldb] Fix step-avoid-regexp logging 2022-03-09 08:35:15 -08:00
ThreadPlanStepInstruction.cpp [lldb] Rename Logging.h to LLDBLog.h and clean up includes 2022-02-03 14:47:01 +01:00
ThreadPlanStepOut.cpp [lldb] Rename Logging.h to LLDBLog.h and clean up includes 2022-02-03 14:47:01 +01:00
ThreadPlanStepOverBreakpoint.cpp [lldb] Rename Logging.h to LLDBLog.h and clean up includes 2022-02-03 14:47:01 +01:00
ThreadPlanStepOverRange.cpp [lldb] Rename Logging.h to LLDBLog.h and clean up includes 2022-02-03 14:47:01 +01:00
ThreadPlanStepRange.cpp [lldb] Rename Logging.h to LLDBLog.h and clean up includes 2022-02-03 14:47:01 +01:00
ThreadPlanStepThrough.cpp [lldb] Rename Logging.h to LLDBLog.h and clean up includes 2022-02-03 14:47:01 +01:00
ThreadPlanStepUntil.cpp [lldb] Rename Logging.h to LLDBLog.h and clean up includes 2022-02-03 14:47:01 +01:00
ThreadPlanTracer.cpp [lldb] Change back LLDBLog::Commands->Types in a couple more places 2022-03-16 15:46:17 +01:00
ThreadSpec.cpp [lldb] Use C++11 default member initializers 2021-06-09 09:43:13 -07:00
Trace.cpp [trace][intelpt] Support system-wide tracing [22] - Some final touches 2022-06-16 11:42:22 -07:00
TraceCursor.cpp [trace][intel pt] Support events 2022-04-25 19:01:23 -07:00
TraceExporter.cpp [lldb] Remove ConstString from SymbolVendor, Trace, TraceExporter, UnwindAssembly, MemoryHistory and InstrumentationRuntime plugin names 2021-10-29 12:08:57 +02:00
TraceInstructionDumper.cpp [NFC][trace] simplify the instruction dumper 2022-04-25 20:02:48 -07:00
UnixSignals.cpp Store a by name list of signals with their actions in the Target 2022-05-26 14:50:33 -07:00
UnwindAssembly.cpp
UnwindLLDB.cpp [lldb] Rename Logging.h to LLDBLog.h and clean up includes 2022-02-03 14:47:01 +01:00