зеркало из https://github.com/microsoft/msquic.git
Enable abort_on_error for ASAN; (#161)
Abort on error ensures that ASAN calls abort(), which is signals SIGABRT, which, when uncaught, creates a core dump.
This commit is contained in:
Родитель
6f2d068ddb
Коммит
ce212c758e
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче