21 return module.GetFileSpec().GetFilename().starts_with("libclang_rt.");
25 Thread &thread, std::string description,
38 Thread &thread, std::string description,
44std::optional<uint32_t>
53 constexpr size_t max_stack_depth = 128;
58 thread_sp->GetStackFrameAtIndex(stack_idx);
60 while (most_relevant_frame_sp && stack_idx <= max_stack_depth) {
62 most_relevant_frame_sp->GetSymbolContext(lldb::eSymbolContextModule);
73 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