11 lines · plain
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=EXCLUDE6 7; EXCLUDE: Name Type {{.*}} ES Flg Lk Inf Al8; EXCLUDE: .llvm.lto LLVM_LTO {{.*}} 00 E 0 0 19 10@a = global i32 111