From bcd6416123e016dab7b681d21e4f66c9b6c20279 Mon Sep 17 00:00:00 2001 From: Simon Atanasyan Date: Tue, 19 Jun 2018 16:48:30 +0000 Subject: [PATCH] [ELF][MIPS] Temporarily mark failed MIPS tests as XFAIL. microMIPS 64-bit is unsupported by LLVM starting from r335057. But such code can be generated by GCC. Mark failed test cases as XFAIL while decide to drop microMIPS 64-bit support from LLD too or use binary inputs for the test. llvm-svn: 335059 --- lld/test/ELF/mips-micro-got64.s | 6 ++++++ lld/test/ELF/mips-micro64-relocs.s | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/lld/test/ELF/mips-micro-got64.s b/lld/test/ELF/mips-micro-got64.s index 653bfbf..1961bff 100644 --- a/lld/test/ELF/mips-micro-got64.s +++ b/lld/test/ELF/mips-micro-got64.s @@ -1,5 +1,11 @@ # Check microMIPS GOT relocations for N64 ABI. +# microMIPS 64-bit is unsupported by LLVM starting from r335057. +# But such code can be generated by GCC. Mark this test as XFAIL +# while decide to drop microMIPS 64-bit support from LLD too or +# use binary inputs for the test. +# XFAIL: * + # RUN: llvm-mc -filetype=obj -triple=mips64-unknown-linux -mattr=micromips \ # RUN: %s -o %t1.o # RUN: llvm-mc -filetype=obj -triple=mips64-unknown-linux -mattr=micromips \ diff --git a/lld/test/ELF/mips-micro64-relocs.s b/lld/test/ELF/mips-micro64-relocs.s index b440c7a..a03cc0a 100644 --- a/lld/test/ELF/mips-micro64-relocs.s +++ b/lld/test/ELF/mips-micro64-relocs.s @@ -1,5 +1,11 @@ # REQUIRES: mips +# microMIPS 64-bit is unsupported by LLVM starting from r335057. +# But such code can be generated by GCC. Mark this test as XFAIL +# while decide to drop microMIPS 64-bit support from LLD too or +# use binary inputs for the test. +# XFAIL: * + # Check handling of some microMIPS relocations in 64-bit mode. # RUN: llvm-mc -filetype=obj -triple=mips64el-unknown-linux \ -- 2.7.4