diff --git a/libdevice/sanitizer/asan_rtl.cpp b/libdevice/sanitizer/asan_rtl.cpp index d655bae365b9a..c4319c2c6f128 100644 --- a/libdevice/sanitizer/asan_rtl.cpp +++ b/libdevice/sanitizer/asan_rtl.cpp @@ -131,6 +131,7 @@ inline uptr MemToShadow_DG2(uptr addr, uint32_t as, launch_info->GlobalShadowLowerBound, launch_info->GlobalShadowUpperBound)); SaveReport(ErrorType::OUT_OF_BOUNDS, MemoryType::GLOBAL, false, debug); + __devicelib_exit(); return 0; } @@ -219,6 +220,7 @@ inline uptr MemToShadow_PVC(uptr addr, uint32_t as, launch_info->GlobalShadowLowerBound, launch_info->GlobalShadowUpperBound)); SaveReport(ErrorType::OUT_OF_BOUNDS, MemoryType::GLOBAL, false, debug); + __devicelib_exit(); return 0; } diff --git a/sycl/test-e2e/AddressSanitizer/out-of-bounds/USM/arbitrary_access.cpp b/sycl/test-e2e/AddressSanitizer/out-of-bounds/USM/arbitrary_access.cpp index 5115d5ad90a06..02c233a179158 100644 --- a/sycl/test-e2e/AddressSanitizer/out-of-bounds/USM/arbitrary_access.cpp +++ b/sycl/test-e2e/AddressSanitizer/out-of-bounds/USM/arbitrary_access.cpp @@ -4,9 +4,6 @@ // RUN: %{build} %device_asan_flags -Xarch_device -mllvm=-asan-spir-shadow-bounds=1 -O2 -g -o %t3.out // RUN: %{run} not %t3.out 2>&1 | FileCheck %s -// UNSUPPORTED: arch-intel_gpu_pvc -// UNSUPPORTED-TRACKER: https://github.com/intel/llvm/issues/20361 - #include #include