15 lines · plain
1; RUN: opt -thinlto-bc -thinlto-split-lto-unit -o %t %s2; RUN: llvm-modextract -b -n 0 -o - %t | llvm-dis | FileCheck --check-prefix=M0 %s3; RUN: llvm-modextract -b -n 1 -o - %t | llvm-dis | FileCheck --check-prefix=M1 %s4 5; M0: @g = external constant6; M0-NOT: @assoc7; M1: @g = constant i8 18; M1: @assoc = private constant i8 29 10@g = constant i8 1, !type !011@assoc = private constant i8 2, !associated !112 13!0 = !{i32 0, !"typeid"}14!1 = !{ptr @g}15