[PATCH] D148694: [SanitizerBinaryMetadata] Respect no_sanitize("thread") function attribute

Marco Elver via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 19 02:17:59 PDT 2023


melver created this revision.
melver added a reviewer: dvyukov.
Herald added subscribers: Enna1, hiraditya.
Herald added a project: All.
melver requested review of this revision.
Herald added projects: clang, LLVM.
Herald added subscribers: llvm-commits, cfe-commits.

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D148694

Files:
  clang/lib/CodeGen/CodeGenFunction.cpp
  clang/test/CodeGen/sanitize-metadata-nosanitize.c
  llvm/lib/Transforms/Instrumentation/SanitizerBinaryMetadata.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148694.514868.patch
Type: text/x-patch
Size: 11282 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230419/5427079b/attachment-0001.bin>


More information about the cfe-commits mailing list