mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00

unit_test/helpers/debug_helpers.cpp -> common/helpers unit_test/page_fault_manager/default_asan_options.cpp -> common/page_fault_manag unit_test/utilities/cpuintrinsics.cpp -> common/utilities unit_test/memory_manager/deferred_deleter_mt_tests.cpp -> opencl/test/unit_test/ delete: unit_test/mocks/debugger_l0_create.cpp delete: unit_test/page_fault_manager/default_asan_options.cpp Related-To: NEO-6524 Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
21 lines
458 B
C++
21 lines
458 B
C++
/*
|
|
* Copyright (C) 2018-2022 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "shared/source/helpers/debug_helpers.h"
|
|
|
|
#include <stdexcept>
|
|
#include <string>
|
|
|
|
namespace NEO {
|
|
void debugBreak(int line, const char *file) {
|
|
}
|
|
void abortUnrecoverable(int line, const char *file) {
|
|
std::string message = "Abort was called at " + std::to_string(line) + " line in file " + file;
|
|
throw std::runtime_error(message);
|
|
}
|
|
} // namespace NEO
|