mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-08-09 20:35:57 +00:00
Add a test for bug 876973
This commit is contained in:
parent
c8fdabee0c
commit
6d62e0a519
10
debian/qualify-clang.sh
vendored
10
debian/qualify-clang.sh
vendored
@ -237,7 +237,17 @@ if ! ./a.out 2>&1 | grep -q -E "(Test unit written|PreferSmall)"; then
|
|||||||
exit 42
|
exit 42
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Bug #876973
|
||||||
|
echo '
|
||||||
|
#include <stdio.h>
|
||||||
|
int main(int argc, char **argv)
|
||||||
|
{
|
||||||
|
printf("Hello world!\n");
|
||||||
|
return 0;
|
||||||
|
}' > foo.c
|
||||||
|
|
||||||
|
clang-$VERSION -fsanitize=address foo.c -o foo -lc
|
||||||
|
./foo
|
||||||
|
|
||||||
# fails on 32 bit, seems a real BUG in the package, using 64bit static libs?
|
# fails on 32 bit, seems a real BUG in the package, using 64bit static libs?
|
||||||
LANG=C clang-$VERSION -fsanitize=fuzzer test_fuzzer.cc &> foo.log
|
LANG=C clang-$VERSION -fsanitize=fuzzer test_fuzzer.cc &> foo.log
|
||||||
|
Loading…
Reference in New Issue
Block a user