File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change
1
+ // RUN: export LSAN_OPTIONS=detect_leaks=0
2
+
1
3
// Clear out the module cache entirely, so we start from nothing.
2
4
// RUN: rm -rf %t
3
5
4
6
// Parse the file, such that building the module will cause Clang to crash.
5
7
// RUN: env CINDEXTEST_FAILONERROR=1 not c-index-test -test-load-source all -fmodules -fmodules-cache-path=%t -Xclang -fdisable-module-hash -I %S/Inputs/Headers -DCRASH %s > /dev/null 2> %t.err
6
8
// RUN: FileCheck < %t.err -check-prefix=CHECK-CRASH %s
7
- // CHECK-CRASH: crash-recovery-modules.m:16 :9:{16 :2-16 :14}: fatal error: could not build module 'Crash'
9
+ // CHECK-CRASH: crash-recovery-modules.m:[[@LINE+9]] :9:{[[@LINE+9]] :2-[[@LINE+9]] :14}: fatal error: could not build module 'Crash'
8
10
9
11
// Parse the file again, without crashing, to make sure that
10
12
// subsequent parses do the right thing.
You can’t perform that action at this time.
0 commit comments