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 {
296296 // / Remove any global modules which are no longer needed.
297297 static void GarbageCollectAllocatedModules ();
298298
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 ;
301301
302302private:
303303 friend class SBAddress ;
Original file line number Diff line number Diff line change @@ -672,11 +672,10 @@ void SBModule::GarbageCollectAllocatedModules() {
672672 ModuleList::RemoveOrphanSharedModules (mandatory);
673673}
674674
675- const char *SBModule::GetName () const {
675+ const char *SBModule::GetObjectName () const {
676676 LLDB_INSTRUMENT_VA (this );
677677
678678 if (!m_opaque_sp)
679679 return nullptr ;
680- m_opaque_sp->GetObjectFile ();
681680 return m_opaque_sp->GetObjectName ().AsCString ();
682681}
You can’t perform that action at this time.
0 commit comments