This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Asan constructor init order checking


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]