brintos

brintos / llvm-project-archived public Read only

0
0
Text · 652 B · 03b162a Raw
26 lines · plain
1; RUN: llvm-as -o %t.bc %s2; RUN: llvm-lto -exported-symbol=foo -exported-symbol=bar -j2 -o %t.o %t.bc3; RUN: llvm-nm %t.o.0 | FileCheck --check-prefix=CHECK0 %s4; RUN: llvm-nm %t.o.1 | FileCheck --check-prefix=CHECK1 %s5 6; FIXME: Investigate test failures on these architectures.7; UNSUPPORTED: target={{(mips|mipsel)-.*}}, target=aarch64{{.*}}, target=powerpc64{{.*}}8 9target triple = "x86_64-unknown-linux-gnu"10 11; CHECK0-NOT: bar12; CHECK0: T foo13; CHECK0-NOT: bar14define void @foo() mustprogress {15  call void @bar()16  ret void17}18 19; CHECK1-NOT: foo20; CHECK1: T bar21; CHECK1-NOT: foo22define void @bar() mustprogress {23  call void @foo()24  ret void25}26