[llvm] [asan] Ensure __asan_register_elf_globals is called in COMDAT asan.module_ctor (PR #67745)

Justin Cady via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 29 06:55:38 PDT 2023


https://github.com/justincady approved this pull request.

LGTM. Thank you for investigating this!

I am not familiar with the code being changed, but I tested this diff in my environment (with the reproducer) and it detected the ODR violation appropriately.

It would be ideal to get this into an upcoming release of LLVM 17.0.X, if at all possible.

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


More information about the llvm-commits mailing list