mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2026-01-04 15:17:07 +00:00
Add a test for bug 827866
This commit is contained in:
parent
25526d0a90
commit
e002b34e40
9
debian/qualify-clang.sh
vendored
9
debian/qualify-clang.sh
vendored
@ -76,6 +76,15 @@ fi
|
||||
echo '#include <emmintrin.h>' > foo.cc
|
||||
clang++-$VERSION -c foo.cc
|
||||
|
||||
# bug 827866
|
||||
echo 'bool testAndSet(void *atomic) {
|
||||
return __atomic_test_and_set(atomic, __ATOMIC_SEQ_CST);
|
||||
}'> foo.cpp
|
||||
clang++-$VERSION -c -target aarch64-linux-gnu foo.cpp
|
||||
if ! file foo.o 2>&1 | grep -q "aarch64"; then
|
||||
echo "Could not find the string 'aarch64' in the output of file"
|
||||
exit 42
|
||||
fi
|
||||
echo '
|
||||
#include <string.h>
|
||||
int
|
||||
|
||||
Loading…
Reference in New Issue
Block a user