Do not abort ocloc when building throws exception

Previously when compiler crashed, no cmdline was printed.

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
This commit is contained in:
Dominik Dabek
2022-01-27 12:05:16 +00:00
committed by Compute-Runtime-Automation
parent 09346690e8
commit a83b173bbe

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2018-2020 Intel Corporation
* Copyright (C) 2018-2022 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -26,8 +26,6 @@ class SafetyGuardWindows {
} __except (SehException::filter(GetExceptionCode(), GetExceptionInformation())) {
if (onExcept) {
onExcept();
} else {
NEO::abortExecution();
}
longjmp(jmpbuf, 1);
}