mirror of
https://src.fedoraproject.org/rpms/llvm.git
synced 2024-11-24 17:34:47 +00:00
6 lines
141 B
Bash
6 lines
141 B
Bash
|
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
|