[all-commits] [llvm/llvm-project] bdabf3: asan: don't use thread user_id

Dmitry Vyukov via All-commits all-commits at lists.llvm.org
Wed Nov 17 05:49:45 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bdabf3c38a2efcbe1b5d28a262cb1b96a08a3156
      https://github.com/llvm/llvm-project/commit/bdabf3c38a2efcbe1b5d28a262cb1b96a08a3156
  Author: Dmitry Vyukov <dvyukov at google.com>
  Date:   2021-11-17 (Wed, 17 Nov 2021)

  Changed paths:
    M compiler-rt/lib/asan/asan_fuchsia.cpp
    M compiler-rt/lib/asan/asan_thread.cpp

  Log Message:
  -----------
  asan: don't use thread user_id

asan does not use user_id for anything,
so don't pass it to ThreadCreate.
Passing a random uninitialized field of AsanThread
as user_id does not make much sense anyway.

Depends on D113921.

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D113922




More information about the All-commits mailing list