File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 71
71
// CHECK-MISSING-CFI-NO-IGNORELIST-NOT: error: no such file or directory: '{{.*}}cfi_ignorelist.txt'
72
72
73
73
// DELIMITERS: {{^ *"}}
74
+
75
+ // Check that a missing file passed to -fsanitize-system-ignorelist triggers a clean error without crashing.
76
+ // RUN: not %clang --target=x86_64-linux-gnu -Xclang -fsanitize-system-ignorelist=%t.nonexistent %s -c -o /dev/null 2>&1 | FileCheck %s --check-prefix=CHECK-SYSTEM-IGNORELIST-NOFILE
77
+ // CHECK-SYSTEM-IGNORELIST-NOFILE: error: failed to load NoSanitize file: can't open file '{{.*}}.nonexistent': No such file or directory
78
+ // CHECK-SYSTEM-IGNORELIST-NOFILE-NOT: Stack dump:
79
+ // CHECK-SYSTEM-IGNORELIST-NOFILE-NOT: PLEASE submit a bug report
80
+ // CHECK-SYSTEM-IGNORELIST-NOFILE-NOT: diagnostic msg:
You can’t perform that action at this time.
0 commit comments