diff options
author | Kuba Brecka <kuba.brecka@gmail.com> | 2016-04-21 14:38:41 +0000 |
---|---|---|
committer | Kuba Brecka <kuba.brecka@gmail.com> | 2016-04-21 14:38:41 +0000 |
commit | 586d93bd8b4bcb2664d6dab95293a333aa809246 (patch) | |
tree | c4386e73b820815e5f60f734412884991d833214 /llvm/tools/llvm-diff/DiffLog.h | |
parent | 9360c10a889f5b1409f8b3d136cc29142528f705 (diff) | |
download | bcm5719-llvm-586d93bd8b4bcb2664d6dab95293a333aa809246.tar.gz bcm5719-llvm-586d93bd8b4bcb2664d6dab95293a333aa809246.zip |
[sanitizer] Use pthread_threadid_np as thread ID on OS X
Let's use pthread_threadid_np which returns a more reasonable ID than pthread_self (which is actually a stack pointer). The numbers from pthread_threadid_np are already used in other tools, e.g. in LLDB, and often appear in logs, so it's much more useful than pthread_self.
Differential Revision: http://reviews.llvm.org/D18951
llvm-svn: 266991
Diffstat (limited to 'llvm/tools/llvm-diff/DiffLog.h')
0 files changed, 0 insertions, 0 deletions