[Lldb-commits] [lldb] [lldb][DWARF] Search for symbols in all external modules (PR #75927)

Michael Buch via lldb-commits lldb-commits at lists.llvm.org
Tue Dec 19 05:53:34 PST 2023


Michael137 wrote:

> I would have thought `lldb/test/API/lang/cpp/gmodules/templates/TestGModules.py` would have failed then as it has >1 module.
> 
> Do you know what "external module" means in this context, as opposed to just module? The code searches "the clang Module" first, then the external modules.

Looks like external module are `DW_TAG_compile_unit`s that have a `DW_AT_GNU_dwo_name` breadcrumb pointing to some module (described here: https://lldb.llvm.org/resources/extensions.html)

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


More information about the lldb-commits mailing list