File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -296,8 +296,8 @@ class LLDB_API SBModule {
296
296
// / Remove any global modules which are no longer needed.
297
297
static void GarbageCollectAllocatedModules ();
298
298
299
- // / Return the name of the module.
300
- const char *GetName () const ;
299
+ // / Return the name of the module (m_object_name) .
300
+ const char *GetObjectName () const ;
301
301
302
302
private:
303
303
friend class SBAddress ;
Original file line number Diff line number Diff line change @@ -672,11 +672,10 @@ void SBModule::GarbageCollectAllocatedModules() {
672
672
ModuleList::RemoveOrphanSharedModules (mandatory);
673
673
}
674
674
675
- const char *SBModule::GetName () const {
675
+ const char *SBModule::GetObjectName () const {
676
676
LLDB_INSTRUMENT_VA (this );
677
677
678
678
if (!m_opaque_sp)
679
679
return nullptr ;
680
- m_opaque_sp->GetObjectFile ();
681
680
return m_opaque_sp->GetObjectName ().AsCString ();
682
681
}
You can’t perform that action at this time.
0 commit comments