[compiler-rt] [llvm] [asan] Limit priority of ctor to kMax-1 (PR #101772)

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 2 17:24:46 PDT 2024


vitalybuka wrote:

> asan changing the priority of a llvm.global_ctors element might be surprising. Is this change to work with some specific code or specific IR code generators that use 65535 (instrumentation cannot do anything with `.init_array.65535` in inline assembly)? Can we change these tools instead?

No. The goal to be able to call `asan` runtime callback just after the last dynamic constructor.



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


More information about the llvm-commits mailing list