[clang] [llvm] [ASAN] For Asan instrumented global, emit two symbols, one with actual size and other with instrumented size. (PR #70166)

via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 14 22:46:14 PST 2024


skc7 wrote:

Hi @hctim,
In this patch, we are identifying globals that are instrumented using an new IR attribute and for them extra symbol with padded size is emitted. This is done only in ASAN pass. Not sure how would that affect HWAsan and MTE-globals. Could you please give an example for this ?
At AMD, we have complex HPC/AI applications and libraries and this patch seems to not create any issue as such. Could you please give a concrete example test case where this patch would create an issue?

https://github.com/llvm/llvm-project/pull/70166


More information about the cfe-commits mailing list