[compiler-rt] [test][asan] Check for order of DynInitPoison (PR #101584)
via llvm-commits
llvm-commits at lists.llvm.org
Sat Aug 3 07:00:02 PDT 2024
alvinhochun wrote:
Though thinking about it, aren't these DynInitPoison stuff supposed to catch static initialization order fiasco? If they end up being interleaved together with regular C++ dynamic initialization then it seems it won't actually catch anything, which may indeed be a bug.
I thought the ASan runtime use the CRT sections `.CRT$XIA`~`.CRT$XIZ` (or something like that) to initialize things? Those should be executed before `.ctors`, no?
https://github.com/llvm/llvm-project/pull/101584
More information about the llvm-commits
mailing list