#2 Add binutils-plugin-ar test
Merged 4 years ago by tstellar. Opened 4 years ago by tstellar.
tests/ tstellar/llvm binutils-plugin-ar  into  master

@@ -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

file added
+12
@@ -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

4 years ago

Pull-Request has been merged by tstellar

4 years ago