mirror of
https://github.com/intel/llvm.git
synced 2026-01-16 05:32:28 +08:00
The StopInfo base class has an m_description std::string.
Remove the m_description ivar from the StopInfoBreakpoint and StopInfoWatchpoint subclasses of StopInfo. Also, initialize the m_description ivar in the StopInfo ctor. <rdar://problem/20902950> llvm-svn: 237411
This commit is contained in:
@@ -40,6 +40,7 @@ StopInfo::StopInfo (Thread &thread, uint64_t value) :
|
||||
m_stop_id (thread.GetProcess()->GetStopID()),
|
||||
m_resume_id (thread.GetProcess()->GetResumeID()),
|
||||
m_value (value),
|
||||
m_description (),
|
||||
m_override_should_notify (eLazyBoolCalculate),
|
||||
m_override_should_stop (eLazyBoolCalculate),
|
||||
m_extended_info()
|
||||
@@ -112,7 +113,6 @@ class StopInfoBreakpoint : public StopInfo
|
||||
public:
|
||||
StopInfoBreakpoint (Thread &thread, break_id_t break_id) :
|
||||
StopInfo (thread, break_id),
|
||||
m_description(),
|
||||
m_should_stop (false),
|
||||
m_should_stop_is_valid (false),
|
||||
m_should_perform_action (true),
|
||||
@@ -125,7 +125,6 @@ public:
|
||||
|
||||
StopInfoBreakpoint (Thread &thread, break_id_t break_id, bool should_stop) :
|
||||
StopInfo (thread, break_id),
|
||||
m_description(),
|
||||
m_should_stop (should_stop),
|
||||
m_should_stop_is_valid (true),
|
||||
m_should_perform_action (true),
|
||||
@@ -568,7 +567,6 @@ protected:
|
||||
}
|
||||
|
||||
private:
|
||||
std::string m_description;
|
||||
bool m_should_stop;
|
||||
bool m_should_stop_is_valid;
|
||||
bool m_should_perform_action; // Since we are trying to preserve the "state" of the system even if we run functions
|
||||
@@ -621,7 +619,6 @@ public:
|
||||
|
||||
StopInfoWatchpoint (Thread &thread, break_id_t watch_id) :
|
||||
StopInfo(thread, watch_id),
|
||||
m_description(),
|
||||
m_should_stop(false),
|
||||
m_should_stop_is_valid(false)
|
||||
{
|
||||
@@ -860,7 +857,6 @@ protected:
|
||||
}
|
||||
|
||||
private:
|
||||
std::string m_description;
|
||||
bool m_should_stop;
|
||||
bool m_should_stop_is_valid;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user