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
[llvm] Do not replace dead constant references in metadata with undef
[llvm-project.git]
/
lld
/
test
/
ELF
/
linkerscript
/
parse-section-in-addr.test
blob
6f42a6fe2788e8d9767bbfc4c45d08288a66601c
1
# REQUIRES: x86
2
# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux /dev/null -o %t.o
3
# RUN: ld.lld -o %t.so --script %s %t.o -shared
4
# RUN: llvm-readelf -S %t.so | FileCheck %s
5
6
SECTIONS {
7
.foo-bar : AT(ADDR(.foo-bar)) { *(.text) }
8
}
9
10
# CHECK: .foo-bar