[all-commits] [llvm/llvm-project] f7c716: [HWASAN] Modified __hwasan::Thread::unique_id_ to ...

kstoimenov via All-commits all-commits at lists.llvm.org
Wed Nov 30 16:44:43 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f7c71611370d3f5f240b080edfce51cd1e4995ce
      https://github.com/llvm/llvm-project/commit/f7c71611370d3f5f240b080edfce51cd1e4995ce
  Author: Kirill Stoimenov <kstoimenov at google.com>
  Date:   2022-12-01 (Thu, 01 Dec 2022)

  Changed paths:
    M compiler-rt/lib/hwasan/hwasan_thread.h

  Log Message:
  -----------
  [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




More information about the All-commits mailing list