1*9880d681SAndroid Build Coastguard Worker; Check the linkage types in both the per-module and combined summaries. 2*9880d681SAndroid Build Coastguard Worker; RUN: opt -module-summary %s -o %t.o 3*9880d681SAndroid Build Coastguard Worker; RUN: llvm-bcanalyzer -dump %t.o | FileCheck %s 4*9880d681SAndroid Build Coastguard Worker; RUN: llvm-lto -thinlto -o %t2 %t.o 5*9880d681SAndroid Build Coastguard Worker; RUN: llvm-bcanalyzer -dump %t2.thinlto.bc | FileCheck %s --check-prefix=COMBINED 6*9880d681SAndroid Build Coastguard Worker 7*9880d681SAndroid Build Coastguard Worker; CHECK: <PERMODULE {{.*}} op1=16 8*9880d681SAndroid Build Coastguard Worker; COMBINED-DAG: <COMBINED {{.*}} op2=16 9*9880d681SAndroid Build Coastguard Workerdefine void @functionWithSection() section "some_section" { 10*9880d681SAndroid Build Coastguard Worker ret void 11*9880d681SAndroid Build Coastguard Worker} 12