034c5c4
@@ -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
@@ -0,0 +1,12 @@
+ - hosts: localhost
+ roles:
+ - role: standard-test-basic
+ tags:
+ - classic
+ required_packages:
+ - clang
+ - binutils
+ - llvm
+ - llvm-libs
+ tests:
+ - binutils-plugin-ar
The test checkes that ar is able to load the LLVMgold.so plugin and create an archive with a valid symbol table from llvm bitcode objects.
rebased onto 034c5c4
Pull-Request has been merged by tstellar
The test checkes that ar is able to load the LLVMgold.so plugin and
create an archive with a valid symbol table from llvm bitcode objects.