File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
compiler-rt/test/hwasan/TestCases Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change 1
1
// This is the ASAN test of the same name ported to HWAsan.
2
2
3
3
// RUN: %clangxx_hwasan -mllvm -hwasan-use-after-scope -std=c++11 -O0 %s -o %t
4
+ // RUN: %clangxx_hwasan -fno-exceptions -mllvm -hwasan-use-after-scope -std=c++11 -O0 %s -o %t-noexcept
5
+
4
6
// RUN: not %run %t 0 2>&1 | FileCheck %s
5
7
// RUN: not %run %t 1 2>&1 | FileCheck %s
6
8
// RUN: not %run %t 2 2>&1 | FileCheck %s
13
15
// RUN: not %run %t 9 2>&1 | FileCheck %s
14
16
// RUN: not %run %t 10 2>&1 | FileCheck %s
15
17
18
+ // RUN: not %run %t-noexcept 0 2>&1 | FileCheck %s
19
+ // RUN: not %run %t-noexcept 1 2>&1 | FileCheck %s
20
+ // RUN: not %run %t-noexcept 2 2>&1 | FileCheck %s
21
+ // RUN: not %run %t-noexcept 3 2>&1 | FileCheck %s
22
+ // RUN: not %run %t-noexcept 4 2>&1 | FileCheck %s
23
+ // RUN: not %run %t-noexcept 5 2>&1 | FileCheck %s
24
+ // RUN: not %run %t-noexcept 6 2>&1 | FileCheck %s
25
+ // RUN: not %run %t-noexcept 7 2>&1 | FileCheck %s
26
+ // RUN: not %run %t-noexcept 8 2>&1 | FileCheck %s
27
+ // RUN: not %run %t-noexcept 9 2>&1 | FileCheck %s
28
+ // RUN: not %run %t-noexcept 10 2>&1 | FileCheck %s
29
+
16
30
// REQUIRES: aarch64-target-arch
17
31
// REQUIRES: stable-runtime
18
32
You can’t perform that action at this time.
0 commit comments