diff options
| -rw-r--r-- | lld/test/lit.cfg | 2 | ||||
| -rw-r--r-- | lld/test/mach-o/arm-interworking-movw.yaml | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/lld/test/lit.cfg b/lld/test/lit.cfg index 07a2988ed65..1fec26f26f7 100644 --- a/lld/test/lit.cfg +++ b/lld/test/lit.cfg @@ -143,6 +143,8 @@ if re.search(r'DEBUG', llvm_config_output_list[0]): config.available_features.add('debug') if re.search(r'ON', llvm_config_output_list[1]): config.available_features.add('asserts') +if re.search(r'ARM', llvm_config_output_list[2]): + config.available_features.add('arm') if re.search(r'Mips', llvm_config_output_list[2]): config.available_features.add('mips') llvm_config_cmd.wait() diff --git a/lld/test/mach-o/arm-interworking-movw.yaml b/lld/test/mach-o/arm-interworking-movw.yaml index ff90545673f..d291513df0f 100644 --- a/lld/test/mach-o/arm-interworking-movw.yaml +++ b/lld/test/mach-o/arm-interworking-movw.yaml @@ -1,3 +1,4 @@ +# REQUIRES: arm # RUN: lld -flavor darwin -arch armv7 -r -print_atoms %s -o %t | FileCheck %s \ # RUN: && lld -flavor darwin -arch armv7 -dylib -print_atoms \ # RUN: -sectalign __TEXT __text 0x1000 %t -o %t2 | FileCheck %s \ |

