llvm/tests/binutils-plugin-ar/test.sh
Timm Bäder e9e5adc47f Update to 14.0.5
Resolves: rhbz#2061056
2022-06-20 14:03:50 +02:00

8 lines
152 B
Bash
Executable File

#!/bin/sh -eux
set pipefail
echo "void lto_function(){}" | clang -flto -O2 -c -x c -o foo.o -
ar crs foo.a foo.o
readelf -c foo.a | grep lto_function