Re-land [openmp] Fix warnings when building on Windows with latest MSVC or Clang...
[llvm-project.git] / llvm / test / CodeGen / X86 / fat-lto-section.ll
blob9a4359bab6b5ddcc9d83eb7bb76b035cea688ec8
1 ;; Ensure that the .llvm.lto section has SHT_EXCLUDE set.
2 ; RUN: opt --mtriple x86_64-unknown-linux-gnu < %s -passes="embed-bitcode" -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
10 @a = global i32 1