summaryrefslogtreecommitdiffstats
path: root/lldb/source/API/SBThread.cpp
diff options
context:
space:
mode:
authorRaphael Isemann <teemperor@gmail.com>2019-11-28 14:25:46 +0100
committerRaphael Isemann <teemperor@gmail.com>2019-11-28 14:25:46 +0100
commit50e2ffa18da4247e4d45f421c3271b58b936c869 (patch)
tree0e036ca5a5c853d275aa65aa3d3c5d9756e6702d /lldb/source/API/SBThread.cpp
parent66237889a79f728fffc96394740b975774de26bf (diff)
downloadbcm5719-llvm-50e2ffa18da4247e4d45f421c3271b58b936c869.tar.gz
bcm5719-llvm-50e2ffa18da4247e4d45f421c3271b58b936c869.zip
Revert "[lldb] NFC: refactor CompileUnit::ResolveSymbolContext"
This reverts commit 373e2a4f69d623e59329ff801f261d8b299e12d2. This broke breakpoint setting.
Diffstat (limited to 'lldb/source/API/SBThread.cpp')
-rw-r--r--lldb/source/API/SBThread.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/lldb/source/API/SBThread.cpp b/lldb/source/API/SBThread.cpp
index 2dada9a6118..8d4930bf6ed 100644
--- a/lldb/source/API/SBThread.cpp
+++ b/lldb/source/API/SBThread.cpp
@@ -914,10 +914,9 @@ SBError SBThread::StepOverUntil(lldb::SBFrame &sb_frame,
const bool exact = false;
SymbolContextList sc_list;
- frame_sc.comp_unit->ResolveSymbolContext(step_file_spec, line,
- check_inlines, exact,
- eSymbolContextLineEntry, sc_list);
- const uint32_t num_matches = sc_list.GetSize();
+ const uint32_t num_matches = frame_sc.comp_unit->ResolveSymbolContext(
+ step_file_spec, line, check_inlines, exact, eSymbolContextLineEntry,
+ sc_list);
if (num_matches > 0) {
SymbolContext sc;
for (uint32_t i = 0; i < num_matches; ++i) {
OpenPOWER on IntegriCloud