From: Sean Callanan Date: Wed, 29 Mar 2017 19:32:59 +0000 (+0000) Subject: Move the definition of SBListener::GetSP() to SBListener.cpp. X-Git-Tag: llvmorg-5.0.0-rc1~8939 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d53048c47906dd9be1789a99b6e4a239fceecce5;p=platform%2Fupstream%2Fllvm.git Move the definition of SBListener::GetSP() to SBListener.cpp. This is the requirement for all functions in the public API, to eliminate weak symbol definitions. llvm-svn: 299020 --- diff --git a/lldb/include/lldb/API/SBListener.h b/lldb/include/lldb/API/SBListener.h index 05282c2..a2f82a8 100644 --- a/lldb/include/lldb/API/SBListener.h +++ b/lldb/include/lldb/API/SBListener.h @@ -89,7 +89,7 @@ protected: SBListener(const lldb::ListenerSP &listener_sp); - lldb::ListenerSP GetSP() { return m_opaque_sp; } + lldb::ListenerSP GetSP(); private: lldb_private::Listener *operator->() const; diff --git a/lldb/source/API/SBListener.cpp b/lldb/source/API/SBListener.cpp index d43a4bc..50fed4e 100644 --- a/lldb/source/API/SBListener.cpp +++ b/lldb/source/API/SBListener.cpp @@ -302,6 +302,8 @@ bool SBListener::HandleBroadcastEvent(const SBEvent &event) { return false; } +lldb::ListenerSP SBListener::GetSP() { return m_opaque_sp; } + Listener *SBListener::operator->() const { return m_opaque_sp.get(); } Listener *SBListener::get() const { return m_opaque_sp.get(); }