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
/
undef.s
blob
f352466204c8af42ae89831aa8c66173f405b126
1
# REQUIRES: x86
2
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
3
4
# RUN: echo "SECTIONS { patatino = 0x1234; }" > %t.script
5
# RUN: ld.lld -o %t1 --script %t.script %t
6
# RUN: llvm-nm %t1 | FileCheck %s
7
# CHECK: 0000000000001234 A patatino
8
9
.global _start
10
_start
:
11
call patatino