[PATCH] D51548: lld: Add missing REQUIRES to tests
Tom Stellard via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 31 10:30:34 PDT 2018
tstellar created this revision.
tstellar added a reviewer: ruiu.
Herald added subscribers: dexonsmith, steven_wu, arichardson, emaste.
Herald added a reviewer: espindola.
Repository:
rLLD LLVM Linker
https://reviews.llvm.org/D51548
Files:
test/COFF/guardcf-align.s
test/ELF/icf13.s
test/ELF/icf15.s
test/ELF/icf16.s
test/ELF/icf17.s
test/ELF/lto/libcall-archive.ll
Index: test/ELF/lto/libcall-archive.ll
===================================================================
--- test/ELF/lto/libcall-archive.ll
+++ test/ELF/lto/libcall-archive.ll
@@ -9,6 +9,8 @@
; RUN: ld.lld -o %t2 %t.o --start-lib %t2.o %t3.o --end-lib
; RUN: llvm-nm %t2 | FileCheck %s
+; REQUIRES: x86_64
+
; CHECK-NOT: T __sync_val_compare_and_swap_8
; CHECK: T _start
; CHECK: T memcpy
Index: test/ELF/icf17.s
===================================================================
--- test/ELF/icf17.s
+++ test/ELF/icf17.s
@@ -2,6 +2,8 @@
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t1
# RUN: ld.lld %t1 -o /dev/null --icf=all --print-icf-sections 2>&1 | FileCheck -allow-empty %s
+# REQUIRES: x86_64
+
# CHECK-NOT: selected
.section .text
Index: test/ELF/icf16.s
===================================================================
--- test/ELF/icf16.s
+++ test/ELF/icf16.s
@@ -2,6 +2,8 @@
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t1
# RUN: ld.lld -shared -z notext %t1 -o /dev/null --icf=all --print-icf-sections 2>&1 | FileCheck -allow-empty %s
+# REQUIRES: x86_64
+
## ICF is able to merge sections which relocations referring regular input sections
## or mergeable sections. .eh_frame is represented with a different kind of section,
## here we check that ICF code is able to handle and will not merge sections which
Index: test/ELF/icf15.s
===================================================================
--- test/ELF/icf15.s
+++ test/ELF/icf15.s
@@ -2,6 +2,8 @@
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t1
# RUN: ld.lld %t1 -o /dev/null --icf=all --print-icf-sections 2>&1 | FileCheck -allow-empty %s
+# REQUIRES: x86_64
+
## Check that ICF does not merge sections which relocations have equal addends,
## but different target values.
Index: test/ELF/icf13.s
===================================================================
--- test/ELF/icf13.s
+++ test/ELF/icf13.s
@@ -2,6 +2,8 @@
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t1
# RUN: ld.lld -shared -z notext %t1 -o /dev/null --icf=all --print-icf-sections 2>&1 | FileCheck -allow-empty %s
+# REQUIRES: x86_64
+
## Check that ICF does not merge sections which relocations point to symbols
## that are not of the regular defined kind.
Index: test/COFF/guardcf-align.s
===================================================================
--- test/COFF/guardcf-align.s
+++ test/COFF/guardcf-align.s
@@ -6,6 +6,8 @@
# RUN: %t.obj %T/guardcf-align-foobar.obj
# RUN: llvm-readobj -coff-load-config %T/guardcf-align.exe | FileCheck %s
+# REQUIRES: x86_64
+
# Check that the gfids table contains at least one entry that ends in 0
# and no entries that end in something other than 0.
# CHECK: GuardFidTable [
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51548.163558.patch
Type: text/x-patch
Size: 2806 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180831/f4faae47/attachment-0001.bin>
More information about the llvm-commits
mailing list