[all-commits] [llvm/llvm-project] 35e76a: Revert "sanitizer_common: split LibIgnore into fas...

Dmitry Vyukov via All-commits all-commits at lists.llvm.org
Tue Jul 27 02:43:57 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 35e76a939cabbaa40aeeb572c3cf4039c3077fdf
      https://github.com/llvm/llvm-project/commit/35e76a939cabbaa40aeeb572c3cf4039c3077fdf
  Author: Dmitry Vyukov <dvyukov at google.com>
  Date:   2021-07-27 (Tue, 27 Jul 2021)

  Changed paths:
    M compiler-rt/lib/sanitizer_common/sanitizer_libignore.cpp
    M compiler-rt/lib/sanitizer_common/sanitizer_libignore.h
    M compiler-rt/test/tsan/ignore_lib0.cpp

  Log Message:
  -----------
  Revert "sanitizer_common: split LibIgnore into fast/slow paths"

This reverts commit 1e1f7520279c93a59fa6511028ff40412065985e.

It breaks ignore_noninstrumented_modules=1.
Somehow we did not have any portable tests for this mode before
(only Darwin tests). Add a portable test as well.

Moreover, I think I was too fast uninlining all LibIgnore checks.
For Java, Darwin and OpenMP LibIgnore is always enabled,
so it makes sense to leave it as it was before.

Reviewed By: melver

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




More information about the All-commits mailing list