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 <[email protected]> > 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. John. _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
