brintos

brintos / llvm-project-archived public Read only

0
0
Text · 591 B · 245ff42 Raw
15 lines · plain
1; RUN: opt -module-summary -o %t.bc %s2; RUN: opt -module-summary -o %t2.bc %S/Inputs/mod-asm-used.ll3; RUN: llvm-lto2 run %t.bc -r %t.bc,foo,l %t2.bc -r %t2.bc,foo,pl -o %t3 -save-temps4; RUN: llvm-nm %t3.? | FileCheck %s5 6; RUN: llvm-dis %t3.index.bc -o - | FileCheck %s --check-prefix=INDEX7; 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-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"11target triple = "x86_64-unknown-linux-gnu"12 13; CHECK: D foo14module asm ".quad foo"15