1; Bitcode compatibility test for dso_local flag in thin-lto summaries. 2; Checks that older bitcode summaries without the dso_local op are still 3; properly parsed and don't set GlobalValues as dso_local. 4 5; RUN: llvm-dis < %s.bc | FileCheck -allow-deprecated-dag-overlap %s 6; RUN: llvm-bcanalyzer -dump %s.bc | FileCheck -allow-deprecated-dag-overlap %s --check-prefix=BCAN 7 8define void @foo() { 9;CHECK-DAG:define void @foo() 10 ret void 11} 12 13@bar = global i32 0 14;CHECK-DAG: @bar = global i32 0 15 16@baz = alias i32, i32* @bar 17;CHECK-DAG: @bar = global i32 0 18 19;BCAN: <SOURCE_FILENAME 20;BCAN-NEXT: <GLOBALVAR {{.*}} op7=0/> 21;BCAN-NEXT: <FUNCTION {{.*}} op16=0/> 22;BCAN-NEXT: <ALIAS {{.*}} op9=0/> 23