llvm/test/MC/MachO/ARM
Saleem Abdulrasool 2a65dd3101 ARM: consolidate MachO checks for ARM asm parser
This consolidates the duplicated MachO checks in the directive parsing for
various directives that are unsupported for Mach-O.  The error message change is
unimportant as this restores the behaviour to that prior to the addition of the
new directive handling.  Furthermore, use a more direct check for MachO
targeting rather than an indirect feature check of the assembler.

Also simplify the test execution command to avoid temporary files.  Further more,
perform the check in both object and assembly emission.

Whether all non-applicable directives are handled is another question.  .fnstart
is marked as being unsupported, however, the complementary .fnend is not.  The
additional unwinding directives are also still honoured.  This change does not
change that, though, it would be good to validate and mark them as being
unsupported if they are unsupported for the MachO emission.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205678 91177308-0d34-0410-b5e6-96231b3b80d8
2014-04-05 22:09:51 +00:00
..
bad-darwin-ARM-reloc.s
bad-darwin-directives.s ARM: consolidate MachO checks for ARM asm parser 2014-04-05 22:09:51 +00:00
darwin-ARM-reloc.s
darwin-Thumb-reloc.s
data-in-code.s
empty-function-nop.ll
ios-version-min-load-command.s Move yet another test that requires ARM to an ARM test directory. 2014-03-18 23:12:09 +00:00
lit.local.cfg
llvm-objdump-macho-stripped.s
llvm-objdump-macho.s
long-call-branch-island-relocation.s
no-subsections-reloc.s
nop-armv4-padding.s
nop-armv6t2-padding.s
nop-thumb2-padding.s
nop-thumb-padding.s
relax-thumb2-branches.s
relax-thumb-ldr-literal.s
static-movt-relocs.s
thumb2-function-relative-load.s
thumb2-movt-fixup.s
thumb2-movw-fixup.s
thumb-bl-jbits.s
version-min-diagnostics.s Move tests that require ARM to an ARM test directory. 2014-03-18 22:43:59 +00:00
version-min.s Move tests that require ARM to an ARM test directory. 2014-03-18 22:43:59 +00:00