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

Vy Nguyen via lldb-commits lldb-commits at lists.llvm.org
Thu May 15 08:26:36 PDT 2025


================
@@ -714,6 +714,8 @@ uint32_t ModuleList::ResolveSymbolContextsForFileSpec(
     const FileSpec &file_spec, uint32_t line, bool check_inlines,
     SymbolContextItem resolve_scope, SymbolContextList &sc_list) const {
   std::lock_guard<std::recursive_mutex> guard(m_modules_mutex);
+  // If we're looking for a header (not source), then need to check inline.
+  check_inlines = check_inlines || !file_spec.IsSourceImplementationFile();
----------------
oontvoo wrote:

Done! Thanks for the pointer! :)

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


More information about the lldb-commits mailing list