llvm-6502/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 Fixed a bug in getARMFixupKindMachOInfo() where three ARM fixup kinds 2013-12-13 22:46:54 +00:00
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 Refactor data-in-code annotations. 2012-05-18 19:12:01 +00:00
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 [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
llvm-objdump-macho-stripped.s Fixed a bug in llvm-objdump when disassembling using -macho option for a binary 2012-05-18 00:13:56 +00:00
llvm-objdump-macho.s Add a test case for r156840, a fix to llvm-objdump when disassembling using 2012-05-15 20:20:50 +00:00
long-call-branch-island-relocation.s ARM: Darwin BL/BLX relocations to out-of-range symbols. 2012-09-25 18:07:17 +00:00
no-subsections-reloc.s
nop-armv4-padding.s Correct ARM NOP encoding 2012-12-05 21:01:27 +00:00
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 Fix a bug in ARMMachObjectWriter::RecordRelocation() in ARMMachObjectWriter.cpp 2012-07-30 18:46:15 +00:00
thumb-bl-jbits.s Fix issues with the ARM bl and blx thumb instructions and the J1 and J2 bits 2012-05-03 22:41:56 +00:00
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