[cfe-commits] [Microsoft C++ ABI] Add support for static initializers

Timur Iskhodzhanov timurrrr at google.com
Wed May 2 03:01:15 PDT 2012

On Tue, May 1, 2012 at 10:18 AM, John McCall <rjmccall at apple.com> wrote:
> On Apr 23, 2012, at 10:43 AM, Timur Iskhodzhanov wrote:
>> Slightly improved patch attaced
>> On Mon, Apr 23, 2012 at 9:37 PM, Timur Iskhodzhanov <timurrrr at google.com> wrote:
>>> Hi John,
>>> Can you please review the attached patch?
>>> See http://llvm.org/bugs/show_bug.cgi?id=12594 for the details.
>>> Thanks,
>>> Timur Iskhodzhanov,
>>> Google Russia
>> <bug_12594_2.patch>
> I abstracted the how-to-emit-a-global-dtor logic into the C++ ABI helper
> and committed the basic thrust of this in r155894.  Please do continue
> to look at this and figure out how MSVC emits weak global initializers;
> I'm sure there's *something* in place to prevent the initializer from
> running multiple times from multiple translation units.
OK, will keep an eye on that

> John.

More information about the cfe-commits mailing list