forked from OSchip/llvm-project
Fix test for Darwin: ASAN is calling abort by default on Darwin, which not detects as a crash
llvm-svn: 271323
This commit is contained in:
parent
a880146925
commit
42b0c352c1
|
@ -1,10 +1,10 @@
|
|||
// Test dedup_token_length
|
||||
// RUN: %clangxx -O0 %s -o %t
|
||||
// RUN: env %tool_options='' not %run %t 2>&1 | FileCheck %s --check-prefix=CHECK0
|
||||
// RUN: env %tool_options='dedup_token_length=0' not %run %t 2>&1 | FileCheck %s --check-prefix=CHECK0
|
||||
// RUN: env %tool_options='dedup_token_length=1' not %run %t 2>&1 | FileCheck %s --check-prefix=CHECK1
|
||||
// RUN: env %tool_options='dedup_token_length=2' not %run %t 2>&1 | FileCheck %s --check-prefix=CHECK2
|
||||
// RUN: env %tool_options='dedup_token_length=3' not %run %t 2>&1 | FileCheck %s --check-prefix=CHECK3
|
||||
// RUN: env %tool_options='abort_on_error=0' not %run %t 2>&1 | FileCheck %s --check-prefix=CHECK0
|
||||
// RUN: env %tool_options='abort_on_error=0, dedup_token_length=0' not %run %t 2>&1 | FileCheck %s --check-prefix=CHECK0
|
||||
// RUN: env %tool_options='abort_on_error=0, dedup_token_length=1' not %run %t 2>&1 | FileCheck %s --check-prefix=CHECK1
|
||||
// RUN: env %tool_options='abort_on_error=0, dedup_token_length=2' not %run %t 2>&1 | FileCheck %s --check-prefix=CHECK2
|
||||
// RUN: env %tool_options='abort_on_error=0, dedup_token_length=3' not %run %t 2>&1 | FileCheck %s --check-prefix=CHECK3
|
||||
|
||||
// REQUIRES: stable-runtime
|
||||
// FIXME: implement SEGV handler in other sanitizers, not just asan.
|
||||
|
|
Loading…
Reference in New Issue