File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
sycl/test-e2e/AddressSanitizer/common Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 22// RUN: %{build} %device_asan_flags -O0 -g -o %t
33// RUN: %{run} %t
44
5+ // clang-format off
56// Invalid ur option format
67// RUN: env UR_LAYER_ASAN_OPTIONS=a:1,b:1 %{run} not %t 2>&1 | FileCheck %s --check-prefixes INVALID-FORMAT
78// INVALID-FORMAT: <SANITIZER>[ERROR]: Wrong format of the UR_LAYER_ASAN_OPTIONS environment variable value
2021// INVALID-REDZONE: <SANITIZER>[ERROR]: "redzone" should be an integer in range[0, 16].
2122// RUN: env UR_LAYER_ASAN_OPTIONS=max_redzone:abc %{run} not %t 2>&1 | FileCheck %s --check-prefixes INVALID-MAXREDZONE
2223// INVALID-MAXREDZONE: <SANITIZER>[ERROR]: "max_redzone" should be an integer in range[0, 2048].
23-
24-
24+ // clang-format on
2525
2626#include < sycl/usm.hpp>
2727
Original file line number Diff line number Diff line change 22// RUN: %{build} %device_asan_flags -DUNSAFE -O0 -g -o %t1.out
33// RUN: env UR_LAYER_ASAN_OPTIONS=redzone:64 %{run} not %t1.out 2>&1 | FileCheck %s
44// RUN: %{build} %device_asan_flags -DSAFE -O0 -g -o %t2.out
5+
6+ // clang-format off
57// RUN: env UR_LOG_SANITIZER=level:debug UR_LAYER_ASAN_OPTIONS=redzone:8 %{run} %t2.out 2>&1 | FileCheck --check-prefixes CHECK-MIN %s
68// RUN: env UR_LOG_SANITIZER=level:debug UR_LAYER_ASAN_OPTIONS=max_redzone:4096 %{run} %t2.out 2>&1 | FileCheck --check-prefixes CHECK-MAX %s
9+ // clang-format on
710
811#include < sycl/usm.hpp>
912
You can’t perform that action at this time.
0 commit comments