[clang] [TBAA] Emit distinct TBAA tags for pointers with different depths,types. (PR #76612)
Nikolas Klauser via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 27 14:21:25 PDT 2024
https://github.com/philnik777 commented:
First of all I want to say that this is a really cool project, especially the type sanitizer part. Thanks for working on this!
> Just updated the tysan branches again. Unfortunately we aren't yet at a point where LLVM is `tysan` clean, there is a large number of reported violations when running the tblgen built with `tysan` even without this patch. I'd expect that a substantial amount of work is still needed to get to a state where we can build LLVM successfully with tysan.
Given that not even LLVM itself is clean (which has probably some of the densest population of compiler engineers), and you say that this will require a significant amount of work, would it maybe make sense to have this off-by-default for now and only enable it in a year or so by default? Especially if there are problems in any system libraries, like libc++, it would be rather unfortunate, since users can't do much about it.
https://github.com/llvm/llvm-project/pull/76612
More information about the cfe-commits
mailing list