[Lldb-commits] [lldb] r122841 - in /lldb/trunk/source/Plugins/Process/Linux: LinuxThread.cpp LinuxThread.h

Stephen Wilson wilsons at start.ca
Tue Jan 4 13:45:57 PST 2011


Author: wilsons
Date: Tue Jan  4 15:45:57 2011
New Revision: 122841

URL: http://llvm.org/viewvc/llvm-project?rev=122841&view=rev
Log:
Provide LinuxThread with an implementation of Thread::GetUnwinder.


Modified:
    lldb/trunk/source/Plugins/Process/Linux/LinuxThread.cpp
    lldb/trunk/source/Plugins/Process/Linux/LinuxThread.h

Modified: lldb/trunk/source/Plugins/Process/Linux/LinuxThread.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/Linux/LinuxThread.cpp?rev=122841&r1=122840&r2=122841&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/Linux/LinuxThread.cpp (original)
+++ lldb/trunk/source/Plugins/Process/Linux/LinuxThread.cpp Tue Jan  4 15:45:57 2011
@@ -108,6 +108,12 @@
     return stop_info;
 }
 
+Unwind *
+LinuxThread::GetUnwinder()
+{
+    return m_unwinder_ap.get();
+}
+
 bool
 LinuxThread::WillResume(lldb::StateType resume_state)
 {

Modified: lldb/trunk/source/Plugins/Process/Linux/LinuxThread.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/Linux/LinuxThread.h?rev=122841&r1=122840&r2=122841&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/Linux/LinuxThread.h (original)
+++ lldb/trunk/source/Plugins/Process/Linux/LinuxThread.h Tue Jan  4 15:45:57 2011
@@ -78,6 +78,9 @@
 
     lldb::StopInfoSP
     GetPrivateStopReason();
+
+    lldb_private::Unwind *
+    GetUnwinder();
 };
 
 #endif // #ifndef liblldb_LinuxThread_H_





More information about the lldb-commits mailing list