================
@@ -1113,17 +1123,25 @@ class CommandObjectSourceList : public 
CommandObjectParsed {
             ModuleSpec module_spec(module_file_spec);
             matching_modules.Clear();
             target.GetImages().FindModules(module_spec, matching_modules);
-            num_matches += matching_modules.ResolveSymbolContextForFilePath(
-                filename, 0, check_inlines,
+            FileSpec file_spec(filename);
+            re_compute_check_inlines(file_spec);
----------------
labath wrote:

What's up why the lambda? Is there any reason to not compute this directly on 
line 1105? AFAICT, nothing between here and there affects the computed result.

https://github.com/llvm/llvm-project/pull/139002
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to