1 ;; Ensure that the .llvm.lto section has SHT_EXCLUDE set.
2 ; RUN: opt --mtriple x86_64-unknown-linux-gnu < %s -passes="embed-bitcode<thinlto;emit-summary>" -S \
3 ; RUN: | llc --mtriple x86_64-unknown-linux-gnu -filetype=obj \
4 ; RUN: | llvm-readelf - --sections \
5 ; RUN: | FileCheck %s --check-prefix=EXCLUDE
7 ; EXCLUDE: Name Type {{.*}} ES Flg Lk Inf Al
8 ; EXCLUDE: .llvm.lto PROGBITS {{.*}} 00 E 0 0 1