Currently -ffine-grained-bitfield-accesses is disabled when any type of sanitizer is enabled (https://reviews.llvm.org/D36562). That seems unnecessary because the flag only affect Tsan's ability to find race conditions between accesses to consecutive bitfields. The patch disable -ffine-grained-bitfield-accesses only when thread sanitizer is enabled.
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
I suppose this is fine for ubsan/lsan/asan, but does msan track things on smaller-than-byte level?