diff --git a/binutils-plugin-ar/runtest.sh b/binutils-plugin-ar/runtest.sh new file mode 100755 index 0000000..d18ab53 --- /dev/null +++ b/binutils-plugin-ar/runtest.sh @@ -0,0 +1,5 @@ +set -exo 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 diff --git a/tests-llvm-libs.yml b/tests-llvm-libs.yml new file mode 100644 index 0000000..1f06af8 --- /dev/null +++ b/tests-llvm-libs.yml @@ -0,0 +1,12 @@ +- hosts: localhost + roles: + - role: standard-test-basic + tags: + - classic + required_packages: + - clang + - binutils + - llvm + - llvm-libs + tests: + - binutils-plugin-ar