[Lldb-commits] [lldb] [LLDB] added getName method in SBModule (PR #150331)

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Fri Jul 25 03:03:16 PDT 2025


labath wrote:

I don't think that `m_object_name` is what you're looking for. It's supposed to be used for disambiguation when a single physical file contains multiple logical object files, such as with BSD archives. It being empty for "normal" files is kind of expected:
```
  ConstString m_object_name; ///< The name an object within this module that is
                             /// selected, or empty of the module is represented
                             /// by \a m_file.
```

Though I guess that brings up the question of what is the expected result of GetName for files within BSD archives...

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


More information about the lldb-commits mailing list