diff options
author | Ed Maste <emaste@freebsd.org> | 2015-07-31 14:24:32 +0000 |
---|---|---|
committer | Ed Maste <emaste@freebsd.org> | 2015-07-31 14:24:32 +0000 |
commit | 343ad623746459a58dbabf81cb8e23fd24d54ad2 (patch) | |
tree | 6cb12c10ae0776d06ecce7fd9b69fcb5a29b1dde /llvm/lib/Object/COFFObjectFile.cpp | |
parent | b4fbb173f0892105806e93520486c81225dc029d (diff) | |
download | llvm-343ad623746459a58dbabf81cb8e23fd24d54ad2.zip llvm-343ad623746459a58dbabf81cb8e23fd24d54ad2.tar.gz llvm-343ad623746459a58dbabf81cb8e23fd24d54ad2.tar.bz2 |
Report original thread ID for FreeBSD core files
On FreeBSD the tid is (somewhat unintuitively) found in the pr_pid
field of the NT_PRSTATUS note. Collect it when parsing the note and
store it in the thread data.
For Linux I've left the original behaviour of using sequential TIDs
(0, 1, 2...) as I don't yet have code to obtain it.
Differential Revision: http://reviews.llvm.org/D11652
llvm-svn: 243748
Diffstat (limited to 'llvm/lib/Object/COFFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions