Some libraries, like OpenSSL, runs code from .init section.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
LGTM, assuming all tests pass.
Watch the bots, there could be some build mode (GO?) that can't use .preinit_array but forgets to define SANITIZER_CAN_USE_PREINIT_ARRAY
I don't know why we did not do this in the past.
Dmitry may know, but he is OOO and I don't want this to be blocked.