improve ASAN instrumentation: mtr

This commit is contained in:
Sergei Golubchik 2018-01-21 11:30:02 +01:00
parent dc28b6d180
commit fa331acefd

View file

@ -1605,6 +1605,7 @@ sub command_line_setup {
$opt_manual_debug || $opt_dbx || $opt_client_dbx || $opt_manual_dbx ||
$opt_debugger || $opt_client_debugger )
{
$ENV{ASAN_OPTIONS}= 'abort_on_error=1:'.($ENV{ASAN_OPTIONS} || '');
if ( using_extern() )
{
mtr_error("Can't use --extern when using debugger");