llvm/llvm/test/CodeGen/X86/fat-lto-section.ll

;; Ensure that the .llvm.lto section has SHT_EXCLUDE set.
; RUN: opt --mtriple x86_64-unknown-linux-gnu < %s -passes="embed-bitcode<thinlto;emit-summary>" -S \
; RUN:   | llc --mtriple x86_64-unknown-linux-gnu -filetype=obj \
; RUN:   | llvm-readelf - --sections \
; RUN:   | FileCheck %s --check-prefix=EXCLUDE

; EXCLUDE: Name               Type     {{.*}} ES Flg Lk Inf Al
; EXCLUDE: .llvm.lto          LLVM_LTO {{.*}} 00   E  0   0  1

@a = global i32 1