Enable abort_on_error for ASAN;
Abort on error ensures that ASAN calls abort(), which is signals SIGABRT, which, when uncaught, creates a core dump.
@@ -145,7 +145,7 @@ function Start-Executable {
}
} else {
$pinfo.FileName = "bash"
- $pinfo.Arguments = "-c `"ulimit -c unlimited && ASAN_OPTIONS=disable_coredump=0 $($Path) $($Arguments) && echo Done`""
+ $pinfo.Arguments = "-c `"ulimit -c unlimited && ASAN_OPTIONS=disable_coredump=0:abort_on_error=1 $($Path) $($Arguments) && echo Done`""
$pinfo.WorkingDirectory = $LogDir
}
}
