[all-commits] [llvm/llvm-project] 5ec832: tsan: turn off COMMON_INTERCEPTOR_NOTHING_IS_INITI...

Dmitry Vyukov via All-commits all-commits at lists.llvm.org
Tue Oct 26 07:13:15 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5ec832269eedeeddcf00d34efd7272a107e2c7c1
      https://github.com/llvm/llvm-project/commit/5ec832269eedeeddcf00d34efd7272a107e2c7c1
  Author: Dmitry Vyukov <dvyukov at google.com>
  Date:   2021-10-26 (Tue, 26 Oct 2021)

  Changed paths:
    M compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp

  Log Message:
  -----------
  tsan: turn off COMMON_INTERCEPTOR_NOTHING_IS_INITIALIZED

All tsan interceptors check for initialization and/or initialize things
as necessary lazily, so we can pretend everything is initialized in the
COMMON_INTERCEPTOR_NOTHING_IS_INITIALIZED check to avoid double-checking
for initialization (this is only necessary for sanitizers that don't
handle initialization on common grounds).

Reviewed By: melver

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




More information about the All-commits mailing list