26 lines · plain
1REQUIRES: msan2UNSUPPORTED: target=arm{{.*}}3RUN: %msan_compiler %S/SimpleTestStdio.cpp -o %t4RUN: not %run %t -seed=1 -runs=10000000 2>&1 | FileCheck %s --check-prefix=NO-REPORT5 6RUN: %msan_compiler %S/SimpleCmpTest.cpp -o %t7RUN: not %run %t -seed=1 -runs=10000000 2>&1 | FileCheck %s --check-prefix=NO-REPORT8 9RUN: %msan_compiler %S/MemcmpTest.cpp -o %t10RUN: not %run %t -seed=1 -runs=10000000 2>&1 | FileCheck %s --check-prefix=NO-REPORT11 12RUN: %msan_compiler %S/StrcmpTest.cpp -o %t13RUN: not %run %t -seed=1 -runs=10000000 2>&1 | FileCheck %s --check-prefix=NO-REPORT14 15NO-REPORT-NOT: MemorySanitizer16NO-REPORT: BINGO17 18 19RUN: %msan_compiler %S/UseAfterDtor.cpp -o %t20RUN: not %run %t -seed=1 -runs=10000000 2>&1 | FileCheck %s --check-prefix=REPORT21 22RUN: %msan_compiler %S/UninitializedStrlen.cpp -o %t23RUN: not %run %t -seed=1 -runs=10000000 2>&1 | FileCheck %s --check-prefix=REPORT24 25REPORT: MemorySanitizer: use-of-uninitialized-value26