Change the signature of WatchpointLocation ctor so that the second param becomes
'size_t size', instead of 'lldb::tid_t tid'. Pass size to the StoppointLocation ctor as well. llvm-svn: 139131
This commit is contained in:
parent
b1438c763a
commit
8ed0ef9bae
|
|
@ -29,7 +29,7 @@ class WatchpointLocation :
|
|||
{
|
||||
public:
|
||||
|
||||
WatchpointLocation (lldb::addr_t m_addr, lldb::tid_t tid, bool hardware);
|
||||
WatchpointLocation (lldb::addr_t m_addr, size_t size, bool hardware);
|
||||
|
||||
~WatchpointLocation ();
|
||||
|
||||
|
|
|
|||
|
|
@ -18,8 +18,8 @@
|
|||
using namespace lldb;
|
||||
using namespace lldb_private;
|
||||
|
||||
WatchpointLocation::WatchpointLocation (lldb::addr_t addr, lldb::tid_t tid, bool hardware) :
|
||||
StoppointLocation (GetNextID(), addr, tid, hardware),
|
||||
WatchpointLocation::WatchpointLocation (lldb::addr_t addr, size_t size, bool hardware) :
|
||||
StoppointLocation (GetNextID(), addr, size, hardware),
|
||||
m_enabled(0),
|
||||
m_watch_read(0),
|
||||
m_watch_write(0),
|
||||
|
|
|
|||
Loading…
Reference in New Issue