[llvm-branch-commits] [compiler-rt] [TySan] Fixed false positive when accessing offset member variables (PR #95387)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Jun 27 07:54:26 PDT 2024
================
@@ -221,7 +221,17 @@ __tysan_check(void *addr, int size, tysan_type_descriptor *td, int flags) {
OldTDPtr -= i;
OldTD = *OldTDPtr;
- if (!isAliasingLegal(td, OldTD))
+ tysan_type_descriptor *InternalMember = OldTD;
----------------
gbMattN wrote:
Done!
https://github.com/llvm/llvm-project/pull/95387
More information about the llvm-branch-commits
mailing list