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
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
lld
/
test
/
MachO
/
invalid
/
arm64-thunk-undefined.s
blob
849184e6a683ae6485a2a801ccc1193c83fce361
1
# REQUIRES: aarch64
2
3
# RUN: llvm-mc -filetype=obj -triple=arm64-apple-darwin %s -o %t.o
4
## This shouldn't assert.
5
# RUN: not %lld -arch arm64 -lSystem -o %t/thunk %t.o 2>&1 | FileCheck %s
6
7
# CHECK: error: undefined symbol: _g
8
9
.subsections_via_symbols
10
11
.p2align 2
12
13
.globl _main, _g
14
15
.globl _main
16
_main
:
17
bl
_g
18
ret
19
20
_filler1
:
21
.space 0x4000000
22
23
_filler2
:
24
.space 0x4000000