[all-commits] [llvm/llvm-project] 5f605e: [SanitizerBinaryMetadata] Respect no_sanitize("thr...

Marco Elver via All-commits all-commits at lists.llvm.org
Wed Apr 19 05:50:26 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5f605e254a0f81a41fd69025c572d597f3059ebc
      https://github.com/llvm/llvm-project/commit/5f605e254a0f81a41fd69025c572d597f3059ebc
  Author: Marco Elver <elver at google.com>
  Date:   2023-04-19 (Wed, 19 Apr 2023)

  Changed paths:
    M clang/lib/CodeGen/CodeGenFunction.cpp
    A clang/test/CodeGen/sanitize-metadata-nosanitize.c
    M llvm/lib/Transforms/Instrumentation/SanitizerBinaryMetadata.cpp

  Log Message:
  -----------
  [SanitizerBinaryMetadata] Respect no_sanitize("thread") function attribute

To avoid false positives, respect no_sanitize("thread") when atomics
metadata is enabled.

Reviewed By: dvyukov

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




More information about the All-commits mailing list