Skip to content

Commit f6cafcf

Browse files
committed
[lld] Mark test which require mips target
1 parent 02dadd0 commit f6cafcf

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+55
-18
lines changed

lld/test/ELF/bss-start-common.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# REQUIRES: x86
1+
# REQUIRES: x86, mips
22
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
33
# RUN: ld.lld %t -o %t2
44
# RUN: llvm-objdump -t --section-headers %t2 | FileCheck %s

lld/test/ELF/cheri/__cap_relocs/cap-relocs-bsymbolic.s

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# All relocations should be load address plus offset and not preemptible!
33
# This was a problem with __cap_relocs and was found building RTLD
44

5+
// REQUIRES: mips
56
// RUN: %cheri128_purecap_llvm-mc -filetype=obj -defsym=CHERI=1 %s -o %t-cheri.o
67
// RUN: llvm-readobj -r %t-cheri.o | FileCheck %s --check-prefixes OBJ-RELOCS,CHERI-OBJ-RELOCS
78
// RUN: llvm-mc -triple=mips64-unknown-freebsd -position-independent -filetype=obj %s -o %t-mips.o

lld/test/ELF/cheri/__cap_relocs/cap-relocs-dynamic-tag.s

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# REQUIRES: mips
12
# RUN: %cheri_purecap_llvm-mc %s -filetype=obj -o %t.o
23
# RUN: ld.lld -z now -shared %t.o -o %t.so
34
# RUN: llvm-readelf --program-headers --section-mapping %t.so | FileCheck %s -check-prefix SEGMENTS

lld/test/ELF/cheri/__cap_relocs/capreloc-aether.s

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# REQUIRES: mips
12
# RUN: %cheri_purecap_llvm-mc %s -filetype=obj -o %t.o
23
# RUN: ld.lld -T %S/Inputs/capreloc-aether.script %t.o -o %t
34
# RUN: llvm-readobj --cap-relocs %t | FileCheck %s

lld/test/ELF/cheri/__cap_relocs/capreloc-local-function-pointer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// REQUIRES: clang
1+
// REQUIRES: clang, mips
22

33
// RUN: %cheri_purecap_cc1 -emit-obj -mllvm -cheri-cap-table-abi=pcrel %s -o %t.o
44
// RUN: llvm-readobj -r %t.o | FileCheck --check-prefix OBJ-CAPRELOCS %s

lld/test/ELF/cheri/__cap_relocs/capreloc-preemptible.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// REQUIRES: clang
1+
// REQUIRES: clang, mips
22

33
// RUN: %cheri_purecap_clang %s -c -o %t.o
44
// RUN: llvm-readobj -r %t.o | FileCheck --check-prefix READOBJ %s

lld/test/ELF/cheri/__cap_relocs/capreloc-string-constant.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// REQUIRES: clang
1+
// REQUIRES: clang, mips
22

33
// RUN: %cheri_purecap_cc1 %s -emit-obj -o %t.o
44
// RUN: llvm-readobj -r %t.o | FileCheck --check-prefix READOBJ %s

lld/test/ELF/cheri/__cap_relocs/capreloc-undefined.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// REQUIRES: clang
1+
// REQUIRES: clang, mips
22

33
// RUN: %cheri_purecap_clang %s -c -o %t.o
44
// RUN: llvm-readobj -r %t.o | FileCheck --check-prefix READOBJ %s

lld/test/ELF/cheri/__cap_relocs/sort-cap-relocs.s

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// REQUIRES: mips
12
// RUN: %cheri128_purecap_llvm-mc -filetype=obj -defsym=FIRST=1 %s -o %t1.o
23
// RUN: %cheri128_purecap_llvm-mc -filetype=obj %s -o %t2.o
34
// RUN: echo "SECTIONS { \

lld/test/ELF/cheri/__cap_relocs/zutil.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// REQUIRES: clang
1+
// REQUIRES: clang, mips
22

33
// Check that when we use R_CHERI_CAPABILITY instead of legacy cap_relocs the zutil.c test works as expected (i.e. bounds on the strings)
44

0 commit comments

Comments
 (0)