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

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Wed Jul 23 16:54:07 PDT 2025


https://github.com/JDevlieghere requested changes to this pull request.

TL;DR:

```suggestion
const char *SBModule::GetName() const {
  LLDB_INSTRUMENT_VA(this);

  if (!m_opaque_sp) 
    return nullptr;

  return m_opaque_sp->GetObjectName().AsCString();
}
```

This also needs a test.

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


More information about the lldb-commits mailing list