[PATCH] D142982: [SanitizerBinaryMetadata] Pretend compiler-generated loads/stores are atomic

Marco Elver via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 31 08:36:55 PST 2023


melver added a comment.

In D142982#4093842 <https://reviews.llvm.org/D142982#4093842>, @dvyukov wrote:

> We also discussed that msan/asan shadow accesses need to be ignored.
> MSan accesses can lead to false positives, ASan just to unnecessary checking.
> It can also make sense to exclude accesses to global const objects.

Good points - will add in a future patch. Identifying sanitizer accesses is not obvious, probably need to add some more metadata in sanitizer passes.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D142982/new/

https://reviews.llvm.org/D142982



More information about the llvm-commits mailing list