diff options
author | Han Ming Ong <hanming@apple.com> | 2013-01-18 23:11:53 +0000 |
---|---|---|
committer | Han Ming Ong <hanming@apple.com> | 2013-01-18 23:11:53 +0000 |
commit | 4b6459f33f8a345b6c5b60feee3b67c8aa318d2a (patch) | |
tree | a78cf04330ef686d971be89aeb8ea194cebd5f95 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h | |
parent | 7431211214d54d0cd8cc0d069447abd22c5da0cb (diff) | |
download | bcm5719-llvm-4b6459f33f8a345b6c5b60feee3b67c8aa318d2a.tar.gz bcm5719-llvm-4b6459f33f8a345b6c5b60feee3b67c8aa318d2a.zip |
<rdar://problem/12976277>
Swap in index ids for thread ids in GDBRemoteCommunicationClient. Besides dealing with the async logic, I have to take care of the situation when the inferior paused as well.
llvm-svn: 172869
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h index 201ce61eece..68a0a3d20d2 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h @@ -354,6 +354,11 @@ public: { return m_interrupt_sent; } + + std::string + HarmonizeThreadIdsForProfileData (ProcessGDBRemote *process, + StringExtractorGDBRemote &inputStringExtractor); + protected: bool @@ -407,6 +412,8 @@ protected: StringExtractorGDBRemote m_async_response; int m_async_signal; // We were asked to deliver a signal to the inferior process. bool m_interrupt_sent; + std::string m_partial_profile_data; + std::map<uint64_t, uint32_t> m_thread_id_to_used_usec_map; lldb_private::ArchSpec m_host_arch; lldb_private::ArchSpec m_process_arch; |