Mercurial > hg > CbC > CbC_llvm
view compiler-rt/test/fuzzer/fork-ubsan.test @ 256:7d9b19ec7a62
cbclang output is still wrong
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 18 Aug 2023 18:48:47 +0900 |
parents | 1f2b6ac9f198 |
children |
line wrap: on
line source
# UNSUPPORTED: darwin, target={{.*freebsd.*}}, target=aarch64{{.*}} # Tests how the fork mode works together with ubsan. RUN: %cpp_compiler %S/IntegerOverflowTest.cpp -o %t-IntegerOverflowTest -fsanitize=signed-integer-overflow -fno-sanitize-recover=signed-integer-overflow RUN: not %run %t-IntegerOverflowTest -fork=1 -ignore_crashes=1 -runs=10000 2>&1 | FileCheck %s --check-prefix=UBSAN_FORK UBSAN_FORK: runtime error: signed integer overflow: 1073741824 + 1073741824 cannot be represented in type 'int' UBSAN_FORK: INFO: fuzzed for {{.*}} iterations, wrapping up soon