[llvm-branch-commits] [compiler-rt] [TySan] Fixed false positive when accessing offset member variables (PR #95387)
Florian Hahn via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Jun 27 07:38:35 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;
----------------
fhahn wrote:
Could you add a comment here indicating what this does?
https://github.com/llvm/llvm-project/pull/95387
More information about the llvm-branch-commits
mailing list