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-entry.s
blob
427230ab82c68d923ec3ab44dacf6383c72aa521
1
# REQUIRES: x86
2
# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t
3
# RUN: ld.lld %t -o %tout
4
# RUN: llvm-nm %tout | FileCheck %s
5
6
# CHECK: w _start
7
# CHECK-NEXT: T foo
8
9
.global foo
10
.weak _start
11
.text
12
foo
:
13
.dc.a _start