diff options
Diffstat (limited to 'include/lldb/Target/InstrumentationRuntimeStopInfo.h')
-rw-r--r-- | include/lldb/Target/InstrumentationRuntimeStopInfo.h | 46 |
1 files changed, 18 insertions, 28 deletions
diff --git a/include/lldb/Target/InstrumentationRuntimeStopInfo.h b/include/lldb/Target/InstrumentationRuntimeStopInfo.h index df1b937e6e26..0a4a17003d93 100644 --- a/include/lldb/Target/InstrumentationRuntimeStopInfo.h +++ b/include/lldb/Target/InstrumentationRuntimeStopInfo.h @@ -16,40 +16,30 @@ // Other libraries and framework includes // Project includes -#include "lldb/Target/StopInfo.h" #include "lldb/Core/StructuredData.h" +#include "lldb/Target/StopInfo.h" namespace lldb_private { -class InstrumentationRuntimeStopInfo : public StopInfo -{ +class InstrumentationRuntimeStopInfo : public StopInfo { public: - - ~InstrumentationRuntimeStopInfo() override - { - } - - lldb::StopReason - GetStopReason() const override - { - return lldb::eStopReasonInstrumentation; - } - - const char * - GetDescription() override; - - bool - DoShouldNotify(Event *event_ptr) override - { - return true; - } - - static lldb::StopInfoSP - CreateStopReasonWithInstrumentationData (Thread &thread, std::string description, StructuredData::ObjectSP additional_data); - + ~InstrumentationRuntimeStopInfo() override {} + + lldb::StopReason GetStopReason() const override { + return lldb::eStopReasonInstrumentation; + } + + const char *GetDescription() override; + + bool DoShouldNotify(Event *event_ptr) override { return true; } + + static lldb::StopInfoSP CreateStopReasonWithInstrumentationData( + Thread &thread, std::string description, + StructuredData::ObjectSP additional_data); + private: - - InstrumentationRuntimeStopInfo(Thread &thread, std::string description, StructuredData::ObjectSP additional_data); + InstrumentationRuntimeStopInfo(Thread &thread, std::string description, + StructuredData::ObjectSP additional_data); }; } // namespace lldb_private |