aobolensk wrote: > I'm a bit confused by this PR. We don't have sanitizers enabled anywhere, do > we? Is this just a pre-emptive change? My concerns is that it's making an > assumption about how we're going to represent sanitizer attributes -- a > reasonable assumption, but one that has been considered apart from #220625.
With -fclangir -fsanitize=address, ASan already instruments globals and pads __hip_fatbin_wrapper from 24 to 64 bytes, which breaks the packed .hipFatBinSegment that the HIP runtime reads And this is solved in the classic codegen basically the same way https://github.com/llvm/llvm-project/pull/239184 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
