diff options
author | Sean Callanan <scallanan@apple.com> | 2017-03-29 19:32:59 +0000 |
---|---|---|
committer | Sean Callanan <scallanan@apple.com> | 2017-03-29 19:32:59 +0000 |
commit | d53048c47906dd9be1789a99b6e4a239fceecce5 (patch) | |
tree | bed0e256e38f98270710ddc68378fb4c639d2a72 | |
parent | 4d93d66ddda16cd8589559a9102231a27fc5e523 (diff) | |
download | bcm5719-llvm-d53048c47906dd9be1789a99b6e4a239fceecce5.tar.gz bcm5719-llvm-d53048c47906dd9be1789a99b6e4a239fceecce5.zip |
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
-rw-r--r-- | lldb/include/lldb/API/SBListener.h | 2 | ||||
-rw-r--r-- | lldb/source/API/SBListener.cpp | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/lldb/include/lldb/API/SBListener.h b/lldb/include/lldb/API/SBListener.h index 05282c21540..a2f82a83c3e 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 d43a4bc51c1..50fed4e1ee7 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(); } |