On 11/15/2014 09:34 PM, H.J. Lu wrote:
GCC uses xstrndup/xstrdup throughout the source tree and those memory may not be freed explicitly before exut. LeakSanitizer isn't very useful here. This patch suppresses LeakSanitizer in bootstrap. OK for trunk?
Right, I think until now everyone just did the same manually. I wonder if it makes sense to also enable more aggressive checking e.g. detect_stack_use_after_return and check_initialization_order.
-Y