[all-commits] [llvm/llvm-project] 13080c: [compiler-rt][test] XFAIL two tests on 32-bit sparc
rorth via All-commits
all-commits at lists.llvm.org
Tue Aug 18 02:33:39 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 13080ca1f0823b8df9651c1977040e5471c4a431
https://github.com/llvm/llvm-project/commit/13080ca1f0823b8df9651c1977040e5471c4a431
Author: Rainer Orth <ro at gcc.gnu.org>
Date: 2020-08-18 (Tue, 18 Aug 2020)
Changed paths:
M compiler-rt/test/profile/Posix/instrprof-gcov-parallel.test
M compiler-rt/test/ubsan/TestCases/Float/cast-overflow.cpp
Log Message:
-----------
[compiler-rt][test] XFAIL two tests on 32-bit sparc
Two tests `FAIL` on 32-bit sparc:
Profile-sparc :: Posix/instrprof-gcov-parallel.test
UBSan-Standalone-sparc :: TestCases/Float/cast-overflow.cpp
The failure mode is similar:
Undefined first referenced
symbol in file
__atomic_store_4 /var/tmp/instrprof-gcov-parallel-6afe8d.o
__atomic_load_4 /var/tmp/instrprof-gcov-parallel-6afe8d.o
Undefined first referenced
symbol in file
__atomic_load_1 /var/tmp/cast-overflow-72a808.o
This is a known bug: `clang` doesn't inline atomics on 32-bit sparc, unlike
`gcc`.
The patch therefore `XFAIL`s the tests.
Tested on `sparcv9-sun-solaris2.11` and `amd64-pc-solaris2.11`.
Differential Revision: https://reviews.llvm.org/D85346
More information about the All-commits
mailing list