blob: 624267ce8221ec5f60cdf981f7f587e4749428f9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
//===-- InstrumentationRuntimeStopInfo.h ------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
#ifndef liblldb_InstrumentationRuntimeStopInfo_h_
#define liblldb_InstrumentationRuntimeStopInfo_h_
// C Includes
// C++ Includes
#include <string>
// Other libraries and framework includes
// Project includes
#include "lldb/Target/StopInfo.h"
#include "lldb/Core/StructuredData.h"
namespace lldb_private {
class InstrumentationRuntimeStopInfo : public StopInfo
{
public:
virtual ~InstrumentationRuntimeStopInfo()
{
}
virtual lldb::StopReason
GetStopReason () const
{
return lldb::eStopReasonInstrumentation;
}
virtual const char *
GetDescription ();
static lldb::StopInfoSP
CreateStopReasonWithInstrumentationData (Thread &thread, std::string description, StructuredData::ObjectSP additional_data);
private:
InstrumentationRuntimeStopInfo(Thread &thread, std::string description, StructuredData::ObjectSP additional_data);
};
} // namespace lldb_private
#endif // liblldb_InstrumentationRuntimeStopInfo_h_
|