ftynse wrote:

I'm not really familiar with clang-tidy codebase so I can only post a support 
statement. This is valuable for MLIR and its users since such use-after-free 
errors are frequent in rewrite patterns and are usually annoying to reproduce: 
patterns are applied inside of a big set thereof and it's not always obvious 
which one is at fault. While normally use-after-free is caught by ASAN, there 
is a particularly egregious case where `RewriterBase::replaceOp` reuses the 
same pointer address for the operation, making it invisible to ASAN.

https://github.com/llvm/llvm-project/pull/210727
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to