summaryrefslogtreecommitdiffstats
path: root/lldb/source
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2017-03-29 19:32:59 +0000
committerSean Callanan <scallanan@apple.com>2017-03-29 19:32:59 +0000
commitd53048c47906dd9be1789a99b6e4a239fceecce5 (patch)
treebed0e256e38f98270710ddc68378fb4c639d2a72 /lldb/source
parent4d93d66ddda16cd8589559a9102231a27fc5e523 (diff)
downloadbcm5719-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
Diffstat (limited to 'lldb/source')
-rw-r--r--lldb/source/API/SBListener.cpp2
1 files changed, 2 insertions, 0 deletions
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(); }
OpenPOWER on IntegriCloud