[all-commits] [llvm/llvm-project] 764c88: [SanitizerBinaryMetadata] Pretend compiler-generat...
Marco Elver via All-commits
all-commits at lists.llvm.org
Tue Jan 31 08:31:13 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 764c88a50ac76a2df2d051a0eb5badc6867aabb6
https://github.com/llvm/llvm-project/commit/764c88a50ac76a2df2d051a0eb5badc6867aabb6
Author: Marco Elver <elver at google.com>
Date: 2023-01-31 (Tue, 31 Jan 2023)
Changed paths:
M llvm/lib/Transforms/Instrumentation/SanitizerBinaryMetadata.cpp
A llvm/test/Instrumentation/SanitizerBinaryMetadata/pretend-atomic-access.ll
Log Message:
-----------
[SanitizerBinaryMetadata] Pretend compiler-generated loads/stores are atomic
Profiling and GCOV generate known data-racy loads/stores. Pretend they
are atomic so that analysis using PC-keyed metadata for atomics do not
report them as data races (which would look like false positives).
Reviewed By: dvyukov
Differential Revision: https://reviews.llvm.org/D142982
More information about the All-commits
mailing list