summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test/fuzzer/fuzzer-implicit-unsigned-integer-truncation.test
diff options
context:
space:
mode:
authorRoman Lebedev <lebedev.ri@gmail.com>2018-10-30 21:59:09 +0000
committerRoman Lebedev <lebedev.ri@gmail.com>2018-10-30 21:59:09 +0000
commita0457c02b3e7cb379db3df484790d5c280820695 (patch)
tree45612e97daf0fd6d2633ecc3d2893c0a930dd759 /compiler-rt/test/fuzzer/fuzzer-implicit-unsigned-integer-truncation.test
parent62debd8055159de9576eb443b138803bf11c4bd7 (diff)
downloadbcm5719-llvm-a0457c02b3e7cb379db3df484790d5c280820695.tar.gz
bcm5719-llvm-a0457c02b3e7cb379db3df484790d5c280820695.zip
[NFC][compiler-rt] Cleanup Implicit Conversion Sanitizer tests to use sized types
Summary: As requested by @filcab in https://reviews.llvm.org/D50251#1280267 Reviewers: filcab, vsk, #sanitizers, vitalybuka Reviewed By: filcab, #sanitizers, vitalybuka Subscribers: vitalybuka, kubamracek, dberris, llvm-commits, filcab Tags: #sanitizers Differential Revision: https://reviews.llvm.org/D53869 llvm-svn: 345661
Diffstat (limited to 'compiler-rt/test/fuzzer/fuzzer-implicit-unsigned-integer-truncation.test')
-rw-r--r--compiler-rt/test/fuzzer/fuzzer-implicit-unsigned-integer-truncation.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/test/fuzzer/fuzzer-implicit-unsigned-integer-truncation.test b/compiler-rt/test/fuzzer/fuzzer-implicit-unsigned-integer-truncation.test
index 93a7e7618e3..e62a01e9eb2 100644
--- a/compiler-rt/test/fuzzer/fuzzer-implicit-unsigned-integer-truncation.test
+++ b/compiler-rt/test/fuzzer/fuzzer-implicit-unsigned-integer-truncation.test
@@ -1,5 +1,5 @@
RUN: rm -f %t-ImplicitUnsignedIntegerTruncationTest-Ubsan
RUN: %cpp_compiler -fsanitize=implicit-unsigned-integer-truncation -fno-sanitize-recover=all %S/ImplicitUnsignedIntegerTruncationTest.cpp -o %t-ImplicitUnsignedIntegerTruncationTest-Ubsan
RUN: not %run %t-ImplicitUnsignedIntegerTruncationTest-Ubsan 2>&1 | FileCheck %s
-CHECK: ImplicitUnsignedIntegerTruncationTest.cpp:22:17: runtime error: implicit conversion from type 'unsigned int' of value 256 (32-bit, unsigned) to type 'unsigned char' changed the value to 0 (8-bit, unsigned)
+CHECK: ImplicitUnsignedIntegerTruncationTest.cpp:22:17: runtime error: implicit conversion from type 'unsigned int' of value 256 (32-bit, unsigned) to type 'uint8_t' (aka 'unsigned char') changed the value to 0 (8-bit, unsigned)
CHECK: Test unit written to ./crash-
OpenPOWER on IntegriCloud