[HWASAN] Modified __hwasan::Thread::unique_id_ to be u32 instead of u64.
authorKirill Stoimenov <kstoimenov@google.com>
Thu, 1 Dec 2022 00:18:49 +0000 (00:18 +0000)
committerKirill Stoimenov <kstoimenov@google.com>
Thu, 1 Dec 2022 00:44:22 +0000 (00:44 +0000)
commitf7c71611370d3f5f240b080edfce51cd1e4995ce
treeb7f022d57ca43bae9d69bbb5762f127f22442a24
parentff81cc824f2867e8b9f8504549fb2592faea4567
[HWASAN] Modified __hwasan::Thread::unique_id_ to be u32 instead of u64.

This is needed for LSAN integration work. LSAN uses context to store thread_id << 32 + stack_id. In order to fit both we would need thread_id to be 32 bit.

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D139060
compiler-rt/lib/hwasan/hwasan_thread.h