This is the mail archive of the
mailing list for the GCC project.
Re: libsanitizer merge from upstream r175042
On Wed, Feb 13, 2013 at 04:19:14PM +0100, Jakub Jelinek wrote:
> The reexec is problematic, what if the program already in constructors run
> before __asan_init (perhaps ctors of other libraries etc.) does something
> that really shouldn't be done twice?
Wouldn't sorting all of the constructors and destructors by priority, while
retaining the original order, in collect2 solve this issue (as was proposed for
implementing intra-modular init priority support on darwin)?