[PATCH] [ASan/Win] Fix PR22545 __asan_unregister_globals is not called when using -MD runtimes

Timur Iskhodzhanov timurrrr at google.com
Wed Feb 18 11:35:50 PST 2015


Because global_dtors DO work when the MT runtime is used.  Only the MD
runtime doesn't.  (See bug)

On Wed Feb 18 2015 at 10:28:10 PM Kostya Serebryany <kcc at google.com> wrote:

> In http://reviews.llvm.org/D7597#125736, @timurrrr wrote:
>
> > OK, that's possible.
> >
> > Since atexit portability restrictions apply, that'd still require
> >  platform-specific instrumentation AND RTL change as well.
> >  Do you suggest to go down that path?
>
>
> Why can't you do it inn rtl-only? I don't get it.
>
>
> http://reviews.llvm.org/D7597
>
> EMAIL PREFERENCES
>   http://reviews.llvm.org/settings/panel/emailpreferences/
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150218/f675e731/attachment.html>


More information about the llvm-commits mailing list