[tsan] Rename ReportThread->pid to ReportThread->os_id
authorKuba Brecka <kuba.brecka@gmail.com>
Thu, 21 Apr 2016 14:49:25 +0000 (14:49 +0000)
committerKuba Brecka <kuba.brecka@gmail.com>
Thu, 21 Apr 2016 14:49:25 +0000 (14:49 +0000)
commitbf8b5f8dd2331870ee4ca0a3e242b98903293631
treebf24a43a73315e7cb3c94bf0b44a1aed08278441
parent1f04213e98229198de57f6d69b7bbc5dfa6d9c0c
[tsan] Rename ReportThread->pid to ReportThread->os_id

The field "pid" in ReportThread is used to store the OS-provided thread ID (pthread_self or gettid). The name "pid" suggests it's a process ID, which it isn't. Let's rename it.

Differential Revision: http://reviews.llvm.org/D19365

llvm-svn: 266994
compiler-rt/lib/tsan/rtl/tsan_debugging.cc
compiler-rt/lib/tsan/rtl/tsan_interface.h
compiler-rt/lib/tsan/rtl/tsan_report.cc
compiler-rt/lib/tsan/rtl/tsan_report.h
compiler-rt/lib/tsan/rtl/tsan_rtl_report.cc
compiler-rt/test/tsan/debugging.cc