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
/
defsym-dynamic.s
blob
f69e835af34c26fd854a5dd75b770f4795ad7ab9
1
# REQUIRES: x86
2
# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
3
# RUN: ld.lld -o %t.so -shared %t.o --defsym=foo2=foo1
4
# RUN: llvm-readobj --dyn-symbols %t.so | FileCheck %s
5
6
# CHECK: Name: foo1
7
# CHECK: Name: foo2
8
9
.globl foo1
10
foo1
=
0x123