[lld] r214420 - XFAIL the ARM test when we don't have this target.

Nick Kledzik kledzik at apple.com
Thu Jul 31 12:41:29 PDT 2014


Simon,

To clarify, is the issue that this test uses llvm-objdump to disassemble arm code?  And it is possible someone configured LLVM to not support arm?

-Nick

On Jul 31, 2014, at 12:02 PM, Simon Atanasyan <simon at atanasyan.com> wrote:
> Author: atanasyan
> Date: Thu Jul 31 14:02:10 2014
> New Revision: 214420
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=214420&view=rev
> Log:
> XFAIL the ARM test when we don't have this target.
> 
> Modified:
>    lld/trunk/test/lit.cfg
>    lld/trunk/test/mach-o/arm-interworking-movw.yaml
> 
> Modified: lld/trunk/test/lit.cfg
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/lit.cfg?rev=214420&r1=214419&r2=214420&view=diff
> ==============================================================================
> --- lld/trunk/test/lit.cfg (original)
> +++ lld/trunk/test/lit.cfg Thu Jul 31 14:02:10 2014
> @@ -143,6 +143,8 @@ if re.search(r'DEBUG', llvm_config_outpu
>     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()
> 
> Modified: lld/trunk/test/mach-o/arm-interworking-movw.yaml
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/arm-interworking-movw.yaml?rev=214420&r1=214419&r2=214420&view=diff
> ==============================================================================
> --- lld/trunk/test/mach-o/arm-interworking-movw.yaml (original)
> +++ lld/trunk/test/mach-o/arm-interworking-movw.yaml Thu Jul 31 14:02:10 2014
> @@ -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 \
> 
> 
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list