mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-08-11 23:27:53 +00:00
add a test for bug https://bugs.llvm.org/show_bug.cgi\?id\=40059
This commit is contained in:
parent
2630cd44ad
commit
5a7d283d4e
7
debian/qualify-clang.sh
vendored
7
debian/qualify-clang.sh
vendored
@ -34,6 +34,13 @@ if llvm-config-$VERSION --cxxflags | grep " \-W"; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Test https://bugs.llvm.org/show_bug.cgi?id=40059
|
||||
nm /usr/lib/llvm-$VERSION/lib/libLLVMBitWriter.a &> foo.log
|
||||
if grep "File format not recognized" foo.log; then
|
||||
echo "nm libLLVMBitWriter.a contains 'File format not recognized'"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo '#include <stdlib.h>
|
||||
int main() {
|
||||
char *x = (char*)malloc(10 * sizeof(char*));
|
||||
|
Loading…
Reference in New Issue
Block a user