commit | 47bcdf35266bf502dfc3c646b787d666d2eddbbd | [log] [tgz] |
---|---|---|
author | Stephen Wilson <wilsons@start.ca> | Tue Jan 04 21:45:57 2011 +0000 |
committer | Stephen Wilson <wilsons@start.ca> | Tue Jan 04 21:45:57 2011 +0000 |
tree | 07db828b97915e80c9130f6a78b4ce1a92c49792 | |
parent | f6c8120cba0c95238d931b31de2424e510f76977 [diff] |
Provide LinuxThread with an implementation of Thread::GetUnwinder. llvm-svn: 122841
diff --git a/lldb/source/Plugins/Process/Linux/LinuxThread.cpp b/lldb/source/Plugins/Process/Linux/LinuxThread.cpp index b5d3b64..c4c8bf5 100644 --- a/lldb/source/Plugins/Process/Linux/LinuxThread.cpp +++ b/lldb/source/Plugins/Process/Linux/LinuxThread.cpp
@@ -108,6 +108,12 @@ return stop_info; } +Unwind * +LinuxThread::GetUnwinder() +{ + return m_unwinder_ap.get(); +} + bool LinuxThread::WillResume(lldb::StateType resume_state) {
diff --git a/lldb/source/Plugins/Process/Linux/LinuxThread.h b/lldb/source/Plugins/Process/Linux/LinuxThread.h index afa1548..0e7f89d 100644 --- a/lldb/source/Plugins/Process/Linux/LinuxThread.h +++ b/lldb/source/Plugins/Process/Linux/LinuxThread.h
@@ -78,6 +78,9 @@ lldb::StopInfoSP GetPrivateStopReason(); + + lldb_private::Unwind * + GetUnwinder(); }; #endif // #ifndef liblldb_LinuxThread_H_