We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4fad2b commit d191072Copy full SHA for d191072
lldb/source/Plugins/InstrumentationRuntime/BoundsSafety/InstrumentationRuntimeBoundsSafety.cpp
@@ -314,8 +314,15 @@ void InstrumentationRuntimeBoundsSafety::Activate() {
314
/*internal=*/true,
315
/*request_hardware*/ false);
316
317
+ // TODO: Once we have an instrumentation log handle we should log these
318
+ // failures (rdar://164920875).
319
if (!breakpoint)
320
return;
321
+ if (!breakpoint->HasResolvedLocations()) {
322
+ assert(0 && "breakpoint has no resolved locations");
323
+ process_sp->GetTarget().RemoveBreakpointByID(breakpoint->GetID());
324
+ return;
325
+ }
326
327
// Note: When `sync=true` the suggested stackframe is completely ignored. So
328
// we use `sync=false`. Is that a bug?
0 commit comments