repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Recommit "rL366894: [yaml2obj] - Allow custom fields for the SHT_UNDEF sections."
[llvm-complete.git]
/
test
/
LTO
/
X86
/
list-symbols.ll
blob
6b83ad4d296deec1660a31f76d7d8f006a31f21e
1
; RUN: rm -rf %t && mkdir -p %t
2
; RUN: llvm-as -o %t/1.bc %s
3
; RUN: llvm-as -o %t/2.bc %S/Inputs/list-symbols.ll
4
; RUN: llvm-lto -list-symbols-only %t/1.bc %t/2.bc | FileCheck %s
5
; REQUIRES: default_triple
6
7
; CHECK-LABEL: 1.bc:
8
; CHECK-DAG: foo
9
; CHECK-DAG: glob
10
; CHECK-LABEL: 2.bc:
11
; CHECK-DAG: glob
12
; CHECK-DAG: bar
13
14
@glob = global i32 0
15
define void @foo() {
16
ret void
17
}