[Bug sanitizer/55617] static constructors are not being instrumented correctly on darwin
howarth at nitro dot med.uc.edu
gcc-bugzilla@gcc.gnu.org
Wed Jan 30 14:24:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55617
--- Comment #11 from Jack Howarth <howarth at nitro dot med.uc.edu> 2013-01-30 14:23:51 UTC ---
(In reply to comment #10)
> I suppose this isn't important. __mod_term_func are destructors, and they even
> aren't called in the crashing program.
The question is why does...
if (builtin_decl_implicit_p (BUILT_IN_ASAN_INIT))
return;
in initialize_sanitizer_builtins() not emit a __asan_init while apparently...
tree fn = builtin_decl_implicit (BUILT_IN_ASAN_INIT);
in asan_finish_file() emits an apparenty unnecessary one in the wrong section.
More information about the Gcc-bugs
mailing list