[all-commits] [llvm/llvm-project] b63ca0: [Sanitizers][test] XFAIL long double tests on Sola...

rorth via All-commits all-commits at lists.llvm.org
Wed Feb 9 00:20:51 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b63ca0a0681fa3f1c4ec21d195667dcf36adbb22
      https://github.com/llvm/llvm-project/commit/b63ca0a0681fa3f1c4ec21d195667dcf36adbb22
  Author: Rainer Orth <ro at gcc.gnu.org>
  Date:   2022-02-09 (Wed, 09 Feb 2022)

  Changed paths:
    M compiler-rt/test/sanitizer_common/TestCases/printf-ldbl.c
    M compiler-rt/test/sanitizer_common/TestCases/scanf-ldbl.c
    M compiler-rt/test/ubsan/TestCases/Float/cast-overflow.cpp
    M compiler-rt/test/ubsan/TestCases/Misc/log-path_test.cpp

  Log Message:
  -----------
  [Sanitizers][test] XFAIL long double tests on Solaris/sparc

As reported in Issue #41838, `clang` doesn't correctly implement `long
double` on 32-bit Solaris/SPARC: the psABI requires this to be an 128-bit
type.  Four sanitizer tests currently `FAIL` for this reason.

While there is a WIP patch to fix `clang` (D89130
<https://reviews.llvm.org/D89130>), it isn't complete yet and I've hit so
many brick walls while trying to finish it that I'm unsure if I ever will.

This patch therefore `XFAIL`s those tests in the meantime.

Tested on `sparcv9-sun-solaris2.11`.

Differential Revision: https://reviews.llvm.org/D119016




More information about the All-commits mailing list