summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/Module.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Core/Module.cpp')
-rw-r--r--lldb/source/Core/Module.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/lldb/source/Core/Module.cpp b/lldb/source/Core/Module.cpp
index 6595d134079..3e3a1e0c3de 100644
--- a/lldb/source/Core/Module.cpp
+++ b/lldb/source/Core/Module.cpp
@@ -373,9 +373,10 @@ void Module::ParseAllDebugSymbols() {
symbols->ParseFunctions(*sc.comp_unit);
sc.comp_unit->ForeachFunction([&sc, &symbols](const FunctionSP &f) {
- sc.function = f.get();
- symbols->ParseFunctionBlocks(sc);
+ symbols->ParseBlocksRecursive(*f);
+
// Parse the variables for this function and all its blocks
+ sc.function = f.get();
symbols->ParseVariablesForContext(sc);
return false;
});
OpenPOWER on IntegriCloud