[Lldb-commits] [lldb] [lldb]Make `list` command work with headers when possible. (PR #139002)

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Mon May 12 02:32:42 PDT 2025


================
@@ -1114,15 +1115,15 @@ class CommandObjectSourceList : public CommandObjectParsed {
             matching_modules.Clear();
             target.GetImages().FindModules(module_spec, matching_modules);
             num_matches += matching_modules.ResolveSymbolContextForFilePath(
-                filename, 0, check_inlines,
+                filename, start_line, check_inlines,
                 SymbolContextItem(eSymbolContextModule |
                                   eSymbolContextCompUnit),
----------------
labath wrote:

```suggestion
                filename, 0, check_inlines,
                SymbolContextItem(eSymbolContextModule |
                                  eSymbolContextCompUnit | eSymbolContextLineEntry),
```

https://github.com/llvm/llvm-project/pull/139002


More information about the lldb-commits mailing list