21 return module.GetFileSpec().GetFilename().GetStringRef().starts_with(
26 Thread &thread, std::string description,
39 Thread &thread, std::string description,
45std::optional<uint32_t>
54 constexpr size_t max_stack_depth = 128;
59 thread_sp->GetStackFrameAtIndex(stack_idx);
61 while (most_relevant_frame_sp && stack_idx <= max_stack_depth) {
63 most_relevant_frame_sp->GetSymbolContext(lldb::eSymbolContextModule);
74 most_relevant_frame_sp = thread_sp->GetStackFrameAtIndex(stack_idx);
static bool IsStoppedInDarwinSanitizer(Thread &thread, Module &module)
static lldb::StopInfoSP CreateStopReasonWithInstrumentationData(Thread &thread, std::string description, StructuredData::ObjectSP additional_data)
InstrumentationRuntimeStopInfo(Thread &thread, std::string description, StructuredData::ObjectSP additional_data)
std::optional< uint32_t > GetSuggestedStackFrameIndex(bool inlined_stack) override
This gives the StopInfo a chance to suggest a stack frame to select.
const char * GetDescription() override
A class that describes an executable image and its associated object and symbol files.
std::string m_description
StructuredData::ObjectSP m_extended_info
lldb::ThreadSP GetThread() const
StopInfo(Thread &thread, uint64_t value)
std::shared_ptr< Object > ObjectSP
A class that represents a running process on the host machine.
std::shared_ptr< lldb_private::StackFrame > StackFrameSP
std::shared_ptr< lldb_private::Thread > ThreadSP
std::shared_ptr< lldb_private::StopInfo > StopInfoSP