[llvm-commits] [patch][rfc] How to handle static constructors on linux
Anton Korobeynikov
anton at korobeynikov.info
Mon Jun 18 08:16:26 PDT 2012
Hi Rafael,
> This is unfortunate, as the semantics of both are not exactly the
> same, since the runtime process them in reverse order. My first
> intention was to ask for approval for the attached patch,
Side note: ctors might have priorities, so you have to implement
getStaticCtorSection / getStaticDtorSection hooks.
--
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University
More information about the llvm-commits
mailing list