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
[clang] Propagate -ftime-report to offload lto (#122143)
[llvm-project.git]
/
lld
/
test
/
ELF
/
linkerscript
/
sections-constraint3.s
blob
ac6724c38d52f5c90944959f7ad9947170c19426
1
# REQUIRES: x86
2
# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
3
# RUN: echo "SECTIONS { zed : ONLY_IF_RO { abc = 1; *(foo) } }" > %t.script
4
# RUN: ld.lld -T %t.script %t.o -o %t.so -shared
5
# RUN: llvm-readobj --symbols %t.so | FileCheck %s
6
7
# CHECK: Symbols [
8
# CHECK-NOT: abc
9
10
.section foo,
"aw"
11
.quad 1