diff options
author | Jason Molenda <jmolenda@apple.com> | 2013-11-15 00:17:32 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 2013-11-15 00:17:32 +0000 |
commit | a7b5afa91bb9077cc58c2ecdce7fe7943bb2e9bb (patch) | |
tree | 2a918239181612f7052fd78e0ac340a12b8e3d16 /lldb/source/Plugins/Process/Utility | |
parent | 8f9fc2075142747107ab6f0116fe7dad7c96a66c (diff) | |
download | bcm5719-llvm-a7b5afa91bb9077cc58c2ecdce7fe7943bb2e9bb.tar.gz bcm5719-llvm-a7b5afa91bb9077cc58c2ecdce7fe7943bb2e9bb.zip |
Commit a work-in-progress system runtime for Mac OS X which won't
do anything right now. Add a few new methods to the Thread base
class which HistoryThread needs. I think I updated all the
CMakeLists files correctly for the new plugin.
llvm-svn: 194756
Diffstat (limited to 'lldb/source/Plugins/Process/Utility')
-rw-r--r-- | lldb/source/Plugins/Process/Utility/HistoryThread.cpp | 3 | ||||
-rw-r--r-- | lldb/source/Plugins/Process/Utility/HistoryThread.h | 27 |
2 files changed, 29 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/Utility/HistoryThread.cpp b/lldb/source/Plugins/Process/Utility/HistoryThread.cpp index e612b6f3bf2..b63b61f7772 100644 --- a/lldb/source/Plugins/Process/Utility/HistoryThread.cpp +++ b/lldb/source/Plugins/Process/Utility/HistoryThread.cpp @@ -29,7 +29,8 @@ HistoryThread::HistoryThread (lldb_private::Process &process, m_framelist(), m_pcs (pcs), m_stop_id (stop_id), - m_stop_id_is_valid (stop_id_is_valid) + m_stop_id_is_valid (stop_id_is_valid), + m_extended_unwind_token (LLDB_INVALID_ADDRESS) { m_unwinder_ap.reset (new HistoryUnwind (*this, pcs, stop_id, stop_id_is_valid)); Log *log(lldb_private::GetLogIfAllCategoriesSet (LIBLLDB_LOG_OBJECT)); diff --git a/lldb/source/Plugins/Process/Utility/HistoryThread.h b/lldb/source/Plugins/Process/Utility/HistoryThread.h index ba87ffa07d9..1a646c7da34 100644 --- a/lldb/source/Plugins/Process/Utility/HistoryThread.h +++ b/lldb/source/Plugins/Process/Utility/HistoryThread.h @@ -41,6 +41,30 @@ public: bool CalculateStopInfo () { return false; } + void + SetExtendedBacktraceToken (uint64_t token) + { + m_extended_unwind_token = token; + } + + uint64_t + GetExtendedBacktraceToken () + { + return m_extended_unwind_token; + } + + const char * + GetQueueName () + { + return m_queue_name.c_str(); + } + + void + SetQueueName (const char *name) + { + m_queue_name = name; + } + protected: virtual lldb::StackFrameListSP GetStackFrameList (); @@ -50,6 +74,9 @@ protected: std::vector<lldb::addr_t> m_pcs; uint32_t m_stop_id; bool m_stop_id_is_valid; + + uint64_t m_extended_unwind_token; + std::string m_queue_name; }; } // namespace lldb_private |