[NFC][lsan] Add GetCurrentThreadId wrapper for GetCurrentThread
authorVitaly Buka <vitalybuka@google.com>
Fri, 14 Apr 2023 23:22:54 +0000 (16:22 -0700)
committerVitaly Buka <vitalybuka@google.com>
Sat, 15 Apr 2023 06:02:15 +0000 (23:02 -0700)
commit02eb818f64c3b5e20f1badfe803a9a22f9de4640
treef402cd5fafeddad6e1e370ea1b02f5b24e6e893f
parent364884e088d45b162ecb47d093f955a2333eeee1
[NFC][lsan] Add GetCurrentThreadId wrapper for GetCurrentThread

I am going to change return type of GetCurrentThreadId() in the next
patch.

Differential Revision: https://reviews.llvm.org/D148394
compiler-rt/lib/lsan/lsan_fuchsia.cpp
compiler-rt/lib/lsan/lsan_interceptors.cpp
compiler-rt/lib/lsan/lsan_mac.cpp
compiler-rt/lib/lsan/lsan_posix.cpp
compiler-rt/lib/lsan/lsan_thread.cpp
compiler-rt/lib/lsan/lsan_thread.h