From 1935aa3d27cd4ed4aef2dc04360f247a541d4b00 Mon Sep 17 00:00:00 2001 From: "skcms-skia-autoroll@skia-buildbots.google.com.iam.gserviceaccount.com" Date: Tue, 31 Jul 2018 18:48:30 +0000 Subject: Roll skia/third_party/skcms f80f027f8ac9..dc97dc542b6d (1 commits) https://skia.googlesource.com/skcms.git/+log/f80f027f8ac9..dc97dc542b6d 2018-07-31 mtklein@google.com turn on -fsanitize=integer on portable bot The AutoRoll server is located here: https://skcms-skia-roll.skia.org Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+/master/autoroll/README.md If the roll is causing failures, please contact the current sheriff, who should be CC'd on the roll, and stop the roller if necessary. CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel TBR=scroggo@google.com Change-Id: Ided624d7a976be030f278d86d1ef91c57b1d4ad0 Reviewed-on: https://skia-review.googlesource.com/144623 Commit-Queue: skcms-skia-autoroll Reviewed-by: skcms-skia-autoroll --- third_party/skcms/src/Transform_inl.h | 5 +++++ third_party/skcms/version.sha1 | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/third_party/skcms/src/Transform_inl.h b/third_party/skcms/src/Transform_inl.h index 8cc9f77173..49d324aba7 100644 --- a/third_party/skcms/src/Transform_inl.h +++ b/third_party/skcms/src/Transform_inl.h @@ -140,6 +140,11 @@ SI ATTR F F_from_Half(U16 half) { #endif } +#if defined(__clang__) + // The -((127-15)<<10) underflows that side of the math when + // we pass a denorm half float. It's harmless... we'll take the 0 side anyway. + __attribute__((no_sanitize("unsigned-integer-overflow"))) +#endif SI ATTR U16 Half_from_F(F f) { #if defined(USING_NEON_F16C) return (U16)vcvt_f16_f32(f); diff --git a/third_party/skcms/version.sha1 b/third_party/skcms/version.sha1 index 943689e61c..c7eeae456d 100755 --- a/third_party/skcms/version.sha1 +++ b/third_party/skcms/version.sha1 @@ -1 +1 @@ -f80f027f8ac98fcefd0ce327930c842978dffbac \ No newline at end of file +dc97dc542b6dc25d78a945b084425204ab380dd8 \ No newline at end of file -- cgit v1.2.3