This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug sanitizer/55617] static constructors are not being instrumented correctly on darwin
- From: "howarth at nitro dot med.uc.edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 02 Feb 2013 20:19:40 +0000
- Subject: [Bug sanitizer/55617] static constructors are not being instrumented correctly on darwin
- Auto-submitted: auto-generated
- References: <bug-55617-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55617
--- Comment #43 from Jack Howarth <howarth at nitro dot med.uc.edu> 2013-02-02 20:19:40 UTC ---
(In reply to comment #40)
Actually I think we should junk sorting entirely and use the alternative
approach of the patch in Comment 42. That approach should have no impact on the
ordering of constructors when -fsanitize=address isn't in use. When
-fsanitize=address is used, as the ctors vector is loaded up, the asan
constructors will be inserted in the front of the vector.