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
[memprof] Remove an unused using directive (#117004)
[llvm-project.git]
/
lld
/
test
/
ELF
/
local-undefined-symbol.s
blob
e58a7bea6d6342d271d14ef668ebb2e70e1a3e88
1
# REQUIRES: x86
2
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
3
# RUN: not ld.lld %t.o -o /dev/null 2>&1 | FileCheck %s
4
5
# CHECK: error: undefined symbol: foo
6
7
.global _start
8
_start
:
9
jmp foo
10
11
.local foo