[Lldb-commits] [lldb] [lldb] Don't use Module's SymbolFileFileSpec to determine debug info (PR #210206)
Alex Langford via lldb-commits
lldb-commits at lists.llvm.org
Fri Jul 17 10:53:59 PDT 2026
bulbazord wrote:
> I thought about having Module set the m_symfile_spec to the ObjectFile's FileSpec at the same time it sets m_symfile_up
If it's possible for `GetSymbolFile` to point to the module's ObjectFile, then it makes sense to me that `m_symfile_spec` could be pointing at the module's ObjectFile FileSpec.
> but there are parts of code that are intentionally testing GetSymbolFileFileSpec for its actual meaning, and I seem to be the only person who has made this mistake so fixing it like this seems appropriate.
What do you mean by "actual meaning"? It's strange to me that `GetSymbolFile` can give you a valid answer and then `GetSymbolFileFileSpec` can give you something invalid.
https://github.com/llvm/llvm-project/pull/210206
More information about the lldb-commits
mailing list