• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: opt -thinlto-bc -thinlto-split-lto-unit -o %t %s
2; RUN: llvm-modextract -b -n 0 -o - %t | llvm-dis | FileCheck --check-prefix=M0 %s
3; RUN: llvm-modextract -b -n 1 -o - %t | llvm-dis | FileCheck --check-prefix=M1 %s
4
5; M0: @g = external constant
6; M0-NOT: @assoc
7; M1: @g = constant i8 1
8; M1: @assoc = private constant i8 2
9
10@g = constant i8 1, !type !0
11@assoc = private constant i8 2, !associated !1
12
13!0 = !{i32 0, !"typeid"}
14!1 = !{i8* @g}
15