[Lldb-commits] [PATCH 8/9] Provide LinuxThread with an implementation of Thread::GetUnwinder.

Stephen Wilson wilsons at start.ca
Tue Jan 4 12:54:16 PST 2011


---
 source/Plugins/Process/Linux/LinuxThread.cpp |    6 ++++++
 source/Plugins/Process/Linux/LinuxThread.h   |    3 +++
 2 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/source/Plugins/Process/Linux/LinuxThread.cpp b/source/Plugins/Process/Linux/LinuxThread.cpp
index b5d3b64..c4c8bf5 100644
--- a/source/Plugins/Process/Linux/LinuxThread.cpp
+++ b/source/Plugins/Process/Linux/LinuxThread.cpp
@@ -108,6 +108,12 @@ LinuxThread::GetPrivateStopReason()
     return stop_info;
 }
 
+Unwind *
+LinuxThread::GetUnwinder()
+{
+    return m_unwinder_ap.get();
+}
+
 bool
 LinuxThread::WillResume(lldb::StateType resume_state)
 {
diff --git a/source/Plugins/Process/Linux/LinuxThread.h b/source/Plugins/Process/Linux/LinuxThread.h
index afa1548..0e7f89d 100644
--- a/source/Plugins/Process/Linux/LinuxThread.h
+++ b/source/Plugins/Process/Linux/LinuxThread.h
@@ -78,6 +78,9 @@ private:
 
     lldb::StopInfoSP
     GetPrivateStopReason();
+
+    lldb_private::Unwind *
+    GetUnwinder();
 };
 
 #endif // #ifndef liblldb_LinuxThread_H_
-- 
1.7.3.2




More information about the lldb-commits mailing list