mirror of
https://github.com/RPCS3/llvm.git
synced 2025-05-22 21:35:57 +00:00

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@298757 91177308-0d34-0410-b5e6-96231b3b80d8
17 lines
641 B
Plaintext
17 lines
641 B
Plaintext
# Test that the minimizer stops when it sees a differe bug.
|
|
|
|
RUN: rm -rf %t && mkdir %t
|
|
RUN: echo H12345678901234667888090 > %t/long_crash
|
|
RUN: env ASAN_OPTIONS=dedup_token_length=3 LLVMFuzzer-TwoDifferentBugsTest -seed=1 -minimize_crash=1 %t/long_crash -exact_artifact_path=%t/result 2>&1 | FileCheck %s
|
|
|
|
CHECK: DedupToken1: DEDUP_TOKEN: Bar
|
|
CHECK: DedupToken2: DEDUP_TOKEN: Bar
|
|
CHECK: DedupToken1: DEDUP_TOKEN: Bar
|
|
CHECK: DedupToken2: DEDUP_TOKEN: Foo
|
|
CHECK: CRASH_MIN: mismatch in dedup tokens
|
|
|
|
RUN: not LLVMFuzzer-TwoDifferentBugsTest %t/result 2>&1 | FileCheck %s --check-prefix=VERIFY
|
|
|
|
VERIFY: ERROR: AddressSanitizer:
|
|
VERIFY: in Bar
|