[Bug sanitizer/55617] static constructors are not being instrumented correctly on darwin

mrs at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Feb 11 22:36:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55617

--- Comment #54 from mrs at gcc dot gnu.org <mrs at gcc dot gnu.org> 2013-02-11 22:36:28 UTC ---
Author: mrs
Date: Mon Feb 11 22:36:23 2013
New Revision: 195956

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195956
Log:
2013-02-11  Alexander Potapenko <glider@google.com>
        Jack Howarth  <howarth@bromo.med.uc.edu>
        Jakub Jelinek  <jakub@redhat.com>

    PR sanitizer/55617
    * config/darwin.c (cdtor_record): Rename ctor_record.
    (sort_cdtor_records): Rename sort_ctor_records.
    (finalize_dtors): New routine to sort destructors by
    priority before use in assemble_integer.
    (machopic_asm_out_destructor): Use finalize_dtors if needed.

testsuite:
2013-02-11  Alexander Potapenko <glider@google.com>
        Jack Howarth  <howarth@bromo.med.uc.edu>
        Jakub Jelinek  <jakub@redhat.com>

    PR sanitizer/55617
    * g++.dg/asan/pr55617.C: Run on all targets.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/darwin.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/asan/pr55617.C



More information about the Gcc-bugs mailing list