This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Asan constructor init order checking
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Alexander Potapenko <glider at google dot com>
- Cc: Dodji Seketeli <dseketel at redhat dot com>, gcc-patches at gcc dot gnu dot org, Konstantin Serebryany <konstantin dot s dot serebryany at gmail dot com>
- Date: Fri, 22 Nov 2013 18:54:40 +0100
- Subject: Re: [PATCH] Asan constructor init order checking
- Authentication-results: sourceware.org; auth=none
- References: <20131115135845 dot GE892 at tucnak dot redhat dot com> <CAG_fn=WiGpMrtZvv3K3LfgGKeQNmv2iiQhXF-575bR-a=NjCzA at mail dot gmail dot com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Fri, Nov 22, 2013 at 09:46:47PM +0400, Alexander Potapenko wrote:
> Side note: init order checking isn't supposed to work on Darwin, at least
> for now.
I'll let Darwin maintainers/users if any to worry about it, that said,
does it have any compiler side effects (like, that dynamic_init shouldn't
be ever set in the array registered by __asan_register_globals on Darwin,
or __asan_{before,after}_dynamic_init shouldn't be called, or is that purely
a library thing (it will just ignore it or something similar)?
I'd hope the latter, so then it would just be a matter of conditionalizing
tests for it on !*-*-darwin* if/when they are added.
Jakub