diff options
author | Pavel Labath <pavel@labath.sk> | 2019-11-28 17:02:07 +0100 |
---|---|---|
committer | Pavel Labath <pavel@labath.sk> | 2019-12-04 10:49:25 +0100 |
commit | 28e4942b2c3b8961b91b362b4b76b9ca0f735cc2 (patch) | |
tree | 3e20ed9cbdfb907f0d0d8ef099fc149175167fe0 /lldb/source/API/SBThread.cpp | |
parent | 16d20130444c9601ad276a8e82f79b2ac204c6f6 (diff) | |
download | bcm5719-llvm-28e4942b2c3b8961b91b362b4b76b9ca0f735cc2.tar.gz bcm5719-llvm-28e4942b2c3b8961b91b362b4b76b9ca0f735cc2.zip |
[lldb] Remove FileSpec(FileSpec*) constructor
This constructor was the cause of some pretty weird behavior. Remove it,
and update all code to properly dereference the argument instead.
Diffstat (limited to 'lldb/source/API/SBThread.cpp')
-rw-r--r-- | lldb/source/API/SBThread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/API/SBThread.cpp b/lldb/source/API/SBThread.cpp index 2dada9a6118..f7f748f5683 100644 --- a/lldb/source/API/SBThread.cpp +++ b/lldb/source/API/SBThread.cpp @@ -1037,7 +1037,7 @@ SBError SBThread::JumpToLine(lldb::SBFileSpec &file_spec, uint32_t line) { Thread *thread = exe_ctx.GetThreadPtr(); - Status err = thread->JumpToLine(file_spec.get(), line, true); + Status err = thread->JumpToLine(file_spec.ref(), line, true); sb_error.SetError(err); return LLDB_RECORD_RESULT(sb_error); } |