If building lld without x86 support, tests that require that support should
be treated as unsupported, not errors.
Tested using:
1. cmake '-DLLVM_TARGETS_TO_BUILD=AArch64;X86'
make check-lld
=>
Expected Passes : 1406
Unsupported Tests : 287
2. cmake '-DLLVM_TARGETS_TO_BUILD=AArch64'
make check-lld
=>
Expected Passes : 410
Unsupported Tests : 1283
Patch by Joel Jones
Differential Revision: https://reviews.llvm.org/D47748
llvm-svn: 334095
10 lines
273 B
ArmAsm
10 lines
273 B
ArmAsm
// REQUIRES: x86
|
|
// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
|
|
// RUN: ld.lld %t.o -shared -soname=foo.so -o %t
|
|
// RUN: llvm-readobj --dynamic-table %t | FileCheck %s
|
|
|
|
// CHECK: 0x000000000000000E SONAME Library soname: [foo.so]
|
|
|
|
.global _start
|
|
_start:
|