Noticed while testing for an out of tree target. There are probably more tests that should be so marked. I'm not sure who owns these tests so I've added a few names I recognise from the recent history. With advice from probinson, ruiu, rafael and dramatically improved by davidb. Thank you all! Differential Revision: https://reviews.llvm.org/D34685 llvm-svn: 308335
10 lines
270 B
ArmAsm
10 lines
270 B
ArmAsm
// REQUIRES: x86
|
|
// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
|
|
// RUN: llvm-ar rcs %t.a %t.o
|
|
// RUN: not ld.lld -o %t2 -u _start %t.a 2>&1 | FileCheck %s
|
|
|
|
// CHECK: target emulation unknown: -m or at least one .o file required
|
|
|
|
.global _start
|
|
_start:
|