• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llvm-as -o %T/1.bc %s
2; RUN: llvm-as -o %T/2.bc %S/Inputs/list-symbols.ll
3; RUN: llvm-lto -list-symbols-only %T/1.bc %T/2.bc | FileCheck %s
4; REQUIRES: default_triple
5
6; CHECK-LABEL: 1.bc:
7; CHECK-DAG: foo
8; CHECK-DAG: glob
9; CHECK-LABEL: 2.bc:
10; CHECK-DAG: glob
11; CHECK-DAG: bar
12
13@glob = global i32 0
14define void @foo() {
15  ret void
16}
17