https://sourceware.org/bugzilla/show_bug.cgi?id=17896

--- Comment #7 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Cary Coutant from comment #5)
> (In reply to H.J. Lu from comment #4)
> > With this patch:
> > 
> > https://gcc.gnu.org/ml/gcc-patches/2015-01/msg02508.html
> > 
> > Plugin_manager::release_input_file may be called from the claim_file hook.
> > It isn't prepared to deal with it.
> 
> get_input_file is meant to be called only from the all_symbols_read handler,
> and release_input_file only on a handle obtained from get_input_file.

GCC plugin doesn't use get_input_file.  Input file is done when the
claim_file hook returns.  That is why I call release_input_file in
claim_file hook.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to