[RFC] gas: only free on exit when --enable-leak-check

Jan Beulich jbeulich@suse.com
Wed Mar 4 06:43:39 GMT 2026


On 04.03.2026 00:22, Alan Modra wrote:
> Adds a new --enable-leak-check option, controlling whether memory is
> freed before exit in order to find memory leaks.  The default is to
> free memory if BFD_ASAN is non-zero.
> 
> I made it a separate define because you might want to control this
> independently of asan options being used.

Nice, yet bigger an improvement.

Jan


More information about the Binutils mailing list