repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[memprof] Remove an unused using directive (#117004)
[llvm-project.git]
/
lld
/
test
/
ELF
/
gc-collect-undefined.s
blob
7ade554aef13645769d1eecdba3128e341a2594e
1
# REQUIRES: x86
2
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
3
# RUN: ld.lld %t -o %tout --gc-sections -shared
4
# RUN: llvm-nm -D %tout | FileCheck %s
5
6
# CHECK-NOT: qux
7
# CHECK: bar
8
# CHECK-NOT: qux
9
10
.global foo,bar,qux
11
.local baz
12
13
.section .data.foo,
"aw"
,%progbits
14
foo
:
15
.dc.a bar
16
17
.section .bata.baz,
"aw"
,%progbits
18
baz
:
19
.dc.a qux