1 //===-- InstrumentationRuntimeStopInfo.h ------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef liblldb_InstrumentationRuntimeStopInfo_h_
11 #define liblldb_InstrumentationRuntimeStopInfo_h_
17 // Other libraries and framework includes
19 #include "lldb/Target/StopInfo.h"
20 #include "lldb/Core/StructuredData.h"
22 namespace lldb_private {
24 class InstrumentationRuntimeStopInfo : public StopInfo
28 ~InstrumentationRuntimeStopInfo() override
33 GetStopReason() const override
35 return lldb::eStopReasonInstrumentation;
39 GetDescription() override;
42 DoShouldNotify(Event *event_ptr) override
47 static lldb::StopInfoSP
48 CreateStopReasonWithInstrumentationData (Thread &thread, std::string description, StructuredData::ObjectSP additional_data);
52 InstrumentationRuntimeStopInfo(Thread &thread, std::string description, StructuredData::ObjectSP additional_data);
55 } // namespace lldb_private
57 #endif // liblldb_InstrumentationRuntimeStopInfo_h_