[Bug sanitizer/55617] static constructors are not being instrumented correctly on darwin
howarth at nitro dot med.uc.edu
gcc-bugzilla@gcc.gnu.org
Thu Jan 31 22:26:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55617
--- Comment #25 from Jack Howarth <howarth at nitro dot med.uc.edu> 2013-01-31 22:25:45 UTC ---
(In reply to comment #24)
> Suspect we need to use...
>
> ctors[ctor_index].symbol = copy_rtx(symbol);
>
> in machopic_asm_out_constructor although I am unclear on what need need to do
> to release the memory for this copy in at the end of finalize_ctors.
Perhaps we just need to add...
free(ctors[i].symbol);
after we assemble_integer with the ctors[i].symbol in finalize_ctors?
More information about the Gcc-bugs
mailing list