1952ee0dfSFangrui Song; RUN: opt -thinlto-bc -thinlto-split-lto-unit -o %t %s 2952ee0dfSFangrui Song; RUN: llvm-modextract -b -n 0 -o %t0.bc %t 3952ee0dfSFangrui Song; RUN: llvm-modextract -b -n 1 -o %t1.bc %t 4952ee0dfSFangrui Song; RUN: llvm-dis -o - %t0.bc | FileCheck --check-prefix=M0 %s 5952ee0dfSFangrui Song; RUN: llvm-dis -o - %t1.bc | FileCheck --check-prefix=M1 %s 6952ee0dfSFangrui Song 7952ee0dfSFangrui Song; M0: @default = external constant [1 x i8] 8952ee0dfSFangrui Song; M0: @hidden = external hidden constant [1 x i8] 9952ee0dfSFangrui Song; M0: @al = external global [1 x i8] 10952ee0dfSFangrui Song 11952ee0dfSFangrui Song; M1: @default = dso_local constant [1 x i8] c"0", !type !0 12952ee0dfSFangrui Song; M1: @hidden = hidden constant [1 x i8] c"0", !type !0 13*9950ea66SNikita Popov; M1: @al = dso_local alias [1 x i8], ptr @default 14952ee0dfSFangrui Song@default = dso_local constant [1 x i8] c"0", !type !0 15952ee0dfSFangrui Song@hidden = dso_local hidden constant [1 x i8] c"0", !type !0 16952ee0dfSFangrui Song 17*9950ea66SNikita Popov@al = dso_local alias [1 x i8], ptr @default 18952ee0dfSFangrui Song 19*9950ea66SNikita Popovdefine ptr @f_default() { ret ptr @default } 20*9950ea66SNikita Popovdefine ptr @f_hidden() { ret ptr @hidden } 21*9950ea66SNikita Popovdefine ptr @f_al() { ret ptr @al } 22952ee0dfSFangrui Song 23952ee0dfSFangrui Song!0 = !{i32 0, !"typeid"} 24