1; RUN: opt -module-summary -o %t.bc %s 2; RUN: opt -module-summary -o %t2.bc %S/Inputs/mod-asm-used.ll 3; RUN: llvm-lto2 run %t.bc -r %t.bc,foo,l %t2.bc -r %t2.bc,foo,pl -o %t3 -save-temps 4; RUN: llvm-nm %t3.? | FileCheck %s 5 6; RUN: llvm-dis %t3.index.bc -o - | FileCheck %s --check-prefix=INDEX 7; INDEX: ^0 = module: (path: "{{.*}}mod-asm-used.ll.tmp.bc" 8; INDEX: ^1 = module: (path: "{{.*}}mod-asm-used.ll.tmp2.bc" 9 10target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" 11target triple = "x86_64-unknown-linux-gnu" 12 13; CHECK: D foo 14module asm ".quad foo" 15