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

howarth at nitro dot med.uc.edu gcc-bugzilla@gcc.gnu.org
Sat Feb 2 20:20:00 GMT 2013


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.



More information about the Gcc-bugs mailing list