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
/
eh-frame-emit-relocs.s
blob
d0fcf7a16db5676bc9c3f3d4bb3dd2836b012255
1
# REQUIRES: x86
2
# RUN: echo "SECTIONS { .foo : { *(.eh_frame) } }" > %t.script
3
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
4
# RUN: ld.lld --emit-relocs %t.o -T %t.script -o %t
5
# RUN: llvm-objdump --section-headers %t | FileCheck %s
6
7
# CHECK-NOT: eh_frame
8
# CHECK: .rela.foo
9
# CHECK-NOT: eh_frame
10
11
.text
12
.cfi_startproc
13
.cfi_endproc