[all-commits] [llvm/llvm-project] 1d7790: [UBSan] Increase robustness of tests
Julian Lettner via All-commits
all-commits at lists.llvm.org
Mon Aug 3 15:27:16 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 1d7790604c0c4e189bf8d91583cae8f1e027b1fb
https://github.com/llvm/llvm-project/commit/1d7790604c0c4e189bf8d91583cae8f1e027b1fb
Author: Julian Lettner <julian.lettner at apple.com>
Date: 2020-08-03 (Mon, 03 Aug 2020)
Changed paths:
M compiler-rt/test/ubsan/TestCases/Misc/nonnull.cpp
M compiler-rt/test/ubsan/TestCases/Misc/nullability.c
Log Message:
-----------
[UBSan] Increase robustness of tests
These UBSan tests assert the absence of runtime errors via `count 0`,
which means "expect no output". This fails the test unnecessarily in
some environments (e.g., iOS simulator in our case). Alter the test to
be a bit more specific and "expect no error" instead of "expect no
output".
rdar://65503408
Differential Revision: https://reviews.llvm.org/D85155
More information about the All-commits
mailing list