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
/
arch-multiple.s
blob
1ec064e505d28ac18a4526ea1492c56177b0880b
1
# REQUIRES: x86
2
3
# RUN: llvm-mc -filetype=obj -triple=x86_64-apple-macos -o %t.o %s
4
# RUN: not %lld -o %t.out -arch_multiple %t.o 2>&1 | FileCheck %s
5
6
# CHECK: error: undefined symbol for arch x86_64: _foo
7
8
.globl _main
9
_main
:
10
callq _foo
11
ret