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
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
lld
/
test
/
ELF
/
gc-sections-undefined.s
blob
e681d9ab22b9e802d699e433718465c52453aeae
1
# REQUIRES: x86
2
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
3
# RUN: ld.lld %t -o %t1 --gc-sections --undefined=foo
4
# RUN: llvm-readobj --symbols %t1 | FileCheck %s
5
6
# CHECK: foo
7
8
.section .foo,
"ax"
9
.global foo
10
foo
: