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
/
weak-undef-lazy.s
blob
0a4188fca27117778572d5d705d1feb096c0d572
1
# REQUIRES: x86
2
# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
3
# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %S/Inputs/weak-undef-lazy.s -o %t2.o
4
# RUN: rm -f %t2.a
5
# RUN: llvm-ar rc %t2.a %t2.o
6
# RUN: ld.lld %t.o %t2.a -o /dev/null --export-dynamic
7
8
.global _start
9
_start
:
10
.weak foobar
11
.quad foobar