llvm-6502/test/MC/ARM
Saleem Abdulrasool d28c094c80 tools: support decoding ARM EHABI opcodes in readobj
Add support to llvm-readobj to decode the actual opcodes.  The ARM EHABI opcodes
are a variable length instruction set that describe the operations required for
properly unwinding stack frames.

The primary motivation for this change is to ease the creation of tests for the
ARM EHABI object emission as well as the unwinding directive handling in the ARM
IAS.

Thanks to Logan Chien for an extra test case!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199708 91177308-0d34-0410-b5e6-96231b3b80d8
2014-01-21 02:33:15 +00:00
..
AlignedBundling
2010-11-30-reloc-movt.s
2013-03-18-Br-to-label-named-like-reg.s Fix pr13145 - Naming a function like a register name confuses the asm parser. 2013-03-19 23:44:03 +00:00
align_arm_2_thumb.s
align_thumb_2_arm.s
arm_addrmode2.s ARM: change implicit immediate forms of {ld,st}r{,b}t to psuedo-instructions 2014-01-12 04:36:01 +00:00
arm_addrmode3.s
arm_fixups.s
arm_instructions.s
arm_word_directive.s
arm-aliases.s
arm-arithmetic-aliases.s
arm-elf-symver.s Fix parsing of .symver directive on ARM 2014-01-15 22:40:02 +00:00
arm-it-block.s
arm-ldrd.s
arm-memory-instructions.s ARM IAS: support GNU extension for ldrd, strd 2014-01-10 04:38:35 +00:00
arm-qualifier-diagnostics.s ARM IAS: fix diagnostics of improper qualification 2014-01-12 05:25:44 +00:00
arm-shift-encoding.s Fix edge cases of ARM shift operands in arith instructions. 2012-09-22 11:18:19 +00:00
arm-thumb-cpus-default.s
arm-thumb-cpus.s
arm-thumb-trustzone.s
arm-trustzone.s
basic-arm-instructions-v8.s
basic-arm-instructions.s
basic-thumb2-instructions-v8.s
basic-thumb2-instructions.s
basic-thumb-instructions.s
bkpt.s ARM: bkpt has an implicit immediate constant 0 2013-12-23 17:23:58 +00:00
bracket-darwin.s
bracket-exprs.s
comment.s Fix parsing of .symver directive on ARM 2014-01-15 22:40:02 +00:00
complex-operands.s ARM IAS: properly handle expression operands 2014-01-08 03:28:14 +00:00
crc32-thumb.s
crc32.s
cxx-global-constructor.ll
data-in-code.ll
deprecated-v8.s
diagnostics-noneon.s
diagnostics.s
directive-arch-armv2.s [arm] Pass -triple to llvm-mc for ARM ELF test cases. 2013-12-11 19:38:10 +00:00
directive-arch-armv2a.s [arm] Pass -triple to llvm-mc for ARM ELF test cases. 2013-12-11 19:38:10 +00:00
directive-arch-armv3.s [arm] Pass -triple to llvm-mc for ARM ELF test cases. 2013-12-11 19:38:10 +00:00
directive-arch-armv3m.s [arm] Pass -triple to llvm-mc for ARM ELF test cases. 2013-12-11 19:38:10 +00:00
directive-arch-armv4.s Add MLA alias for ARMv4 support. 2014-01-17 13:53:08 +00:00
directive-arch-armv4t.s [arm] Pass -triple to llvm-mc for ARM ELF test cases. 2013-12-11 19:38:10 +00:00
directive-arch-armv5.s [arm] Pass -triple to llvm-mc for ARM ELF test cases. 2013-12-11 19:38:10 +00:00
directive-arch-armv5t.s [arm] Pass -triple to llvm-mc for ARM ELF test cases. 2013-12-11 19:38:10 +00:00
directive-arch-armv5te.s [arm] Pass -triple to llvm-mc for ARM ELF test cases. 2013-12-11 19:38:10 +00:00
directive-arch-armv6-m.s Must not produce Tag_CPU_arch_profile for pre-ARMv7 cores (e.g. cortex-m0) 2014-01-10 16:42:55 +00:00
directive-arch-armv6.s [arm] Pass -triple to llvm-mc for ARM ELF test cases. 2013-12-11 19:38:10 +00:00
directive-arch-armv6j.s [arm] Pass -triple to llvm-mc for ARM ELF test cases. 2013-12-11 19:38:10 +00:00
directive-arch-armv6t2.s [arm] Pass -triple to llvm-mc for ARM ELF test cases. 2013-12-11 19:38:10 +00:00
directive-arch-armv6z.s [arm] Pass -triple to llvm-mc for ARM ELF test cases. 2013-12-11 19:38:10 +00:00
directive-arch-armv6zk.s [arm] Pass -triple to llvm-mc for ARM ELF test cases. 2013-12-11 19:38:10 +00:00
directive-arch-armv7-a.s [arm] Pass -triple to llvm-mc for ARM ELF test cases. 2013-12-11 19:38:10 +00:00
directive-arch-armv7-m.s [arm] Pass -triple to llvm-mc for ARM ELF test cases. 2013-12-11 19:38:10 +00:00
directive-arch-armv7-r.s [arm] Pass -triple to llvm-mc for ARM ELF test cases. 2013-12-11 19:38:10 +00:00
directive-arch-armv7.s [arm] Pass -triple to llvm-mc for ARM ELF test cases. 2013-12-11 19:38:10 +00:00
directive-arch-armv7a.s Recognize armv7a and friends as aliases for armv7-a etc. for the purpose 2013-12-26 11:50:28 +00:00
directive-arch-armv7m.s Recognize armv7a and friends as aliases for armv7-a etc. for the purpose 2013-12-26 11:50:28 +00:00
directive-arch-armv7r.s Recognize armv7a and friends as aliases for armv7-a etc. for the purpose 2013-12-26 11:50:28 +00:00
directive-arch-armv8-a.s [arm] Pass -triple to llvm-mc for ARM ELF test cases. 2013-12-11 19:38:10 +00:00
directive-arch-armv8a.s Recognize armv7a and friends as aliases for armv7-a etc. for the purpose 2013-12-26 11:50:28 +00:00
directive-arch-iwmmxt2.s [arm] Pass -triple to llvm-mc for ARM ELF test cases. 2013-12-11 19:38:10 +00:00
directive-arch-iwmmxt.s [arm] Pass -triple to llvm-mc for ARM ELF test cases. 2013-12-11 19:38:10 +00:00
directive-cpu.s
directive-eabi_attribute-2.s ARM: update build attributes for ABI r2.09 2014-01-19 08:25:35 +00:00
directive-eabi_attribute-diagnostics.s ARM IAS: improve .eabi_attribute handling 2014-01-07 02:28:42 +00:00
directive-eabi_attribute-overwrite.s ARM ELF: ensure that the tag types are corrected 2014-01-19 08:25:41 +00:00
directive-eabi_attribute.s
directive-even.s ARM IAS: support .even directive 2013-12-26 01:52:28 +00:00
directive-fpu-multiple.s
directive-fpu-softvfp.s [arm] Add softvfp to supported FPU names. 2014-01-02 15:50:02 +00:00
directive-fpu.s
dot-req.s
eh-compact-pr0.s
eh-compact-pr1.s
eh-directive-cantunwind-diagnostics.s MCParser: introduce Note and use it for ARM AsmParser 2014-01-07 02:28:31 +00:00
eh-directive-cantunwind.s
eh-directive-fnend-diagnostics.s
eh-directive-fnstart-diagnostics.s ARM IAS: refactor unwind context 2014-01-07 02:28:55 +00:00
eh-directive-handlerdata.s
eh-directive-integrated-test.s
eh-directive-multiple-offsets.s
eh-directive-pad-diagnostics.s
eh-directive-pad.s
eh-directive-personality-diagnostics.s
eh-directive-personality.s
eh-directive-personalityindex-diagnostics.s ARM IAS: support .personalityindex 2014-01-21 02:33:02 +00:00
eh-directive-personalityindex.s ARM IAS: support .personalityindex 2014-01-21 02:33:02 +00:00
eh-directive-save-diagnoatics.s
eh-directive-save.s
eh-directive-section-comdat.s
eh-directive-section-multiple-func.s
eh-directive-section.s
eh-directive-setfp-diagnostics.s
eh-directive-setfp.s
eh-directive-text-section-multiple-func.s
eh-directive-text-section.s
eh-directive-unwind_raw-diagnostics.s ARM IAS: add support for .unwind_raw directive 2014-01-21 02:33:10 +00:00
eh-directive-unwind_raw.s tools: support decoding ARM EHABI opcodes in readobj 2014-01-21 02:33:15 +00:00
eh-directive-vsave-diagnostics.s
eh-directive-vsave.s
elf-eflags-eabi.s
elf-jump24-fixup.s
elf-movt.s
elf-reloc-01.ll
elf-reloc-02.ll
elf-reloc-03.ll
elf-reloc-condcall.s
elf-thumbfunc-reloc.ll
elf-thumbfunc-reloc.s
elf-thumbfunc.s
fconst.s Add ARM fconsts/fconstd aliases for vmov.f32/vmov.f64 2014-01-07 18:19:23 +00:00
fp-armv8.s
fp-const-errors.s Add ARM fconsts/fconstd aliases for vmov.f32/vmov.f64 2014-01-07 18:19:23 +00:00
full_line_comment.s
hilo-16bit-relocations.s
idiv.s
inst-arm-suffixes.s ARM IAS: support .inst directive 2013-12-19 05:17:58 +00:00
inst-constant-required.s ARM IAS: support .inst directive 2013-12-19 05:17:58 +00:00
inst-directive-emit.s ARM IAS: support .inst directive 2013-12-19 05:17:58 +00:00
inst-directive.s ARM IAS: support .inst directive 2013-12-19 05:17:58 +00:00
inst-overflow.s ARM IAS: support .inst directive 2013-12-19 05:17:58 +00:00
inst-thumb-overflow-2.s ARM IAS: support .inst directive 2013-12-19 05:17:58 +00:00
inst-thumb-overflow.s ARM IAS: support .inst directive 2013-12-19 05:17:58 +00:00
inst-thumb-suffixes.s ARM IAS: support .inst directive 2013-12-19 05:17:58 +00:00
invalid-barrier.s
invalid-crc32.s
invalid-fp-armv8.s
invalid-hint-arm.s
invalid-hint-thumb.s
invalid-idiv.s
invalid-neon-v8.s
ldr-pseudo-darwin.s Implement the ldr-pseudo opcode for ARM assembly 2013-12-19 18:12:36 +00:00
ldr-pseudo-obj-errors.s Implement the ldr-pseudo opcode for ARM assembly 2013-12-19 18:12:36 +00:00
ldr-pseudo-parse-errors.s Implement the ldr-pseudo opcode for ARM assembly 2013-12-19 18:12:36 +00:00
ldr-pseudo.s Implement the ldr-pseudo opcode for ARM assembly 2013-12-19 18:12:36 +00:00
lit.local.cfg
load-store-acquire-release-v8-thumb.s
load-store-acquire-release-v8.s
ltorg-darwin.s Implement the .ltorg directive for ARM assembly 2013-12-19 18:26:07 +00:00
ltorg.s Implement the .ltorg directive for ARM assembly 2013-12-19 18:26:07 +00:00
mapping-within-section.s
mode-switch.s
mul-v4.s Add MLA alias for ARMv4 support. 2014-01-17 13:53:08 +00:00
multi-section-mapping.s
neon-abs-encoding.s
neon-absdiff-encoding.s
neon-add-encoding.s
neon-bitcount-encoding.s
neon-bitwise-encoding.s
neon-cmp-encoding.s
neon-convert-encoding.s
neon-crypto.s
neon-dup-encoding.s
neon-minmax-encoding.s
neon-mov-encoding.s
neon-mul-accum-encoding.s
neon-mul-encoding.s
neon-neg-encoding.s
neon-pairwise-encoding.s
neon-reciprocal-encoding.s
neon-reverse-encoding.s
neon-satshift-encoding.s
neon-shift-encoding.s
neon-shiftaccum-encoding.s
neon-shuffle-encoding.s
neon-sub-encoding.s
neon-table-encoding.s
neon-v8.s
neon-vld-encoding.s
neon-vst-encoding.s
neon-vswp.s
neont2-abs-encoding.s
neont2-absdiff-encoding.s
neont2-add-encoding.s
neont2-bitcount-encoding.s
neont2-bitwise-encoding.s
neont2-cmp-encoding.s
neont2-convert-encoding.s
neont2-dup-encoding.s
neont2-minmax-encoding.s
neont2-mov-encoding.s
neont2-mul-accum-encoding.s
neont2-mul-encoding.s
neont2-neg-encoding.s
neont2-pairwise-encoding.s
neont2-reciprocal-encoding.s
neont2-reverse-encoding.s
neont2-satshift-encoding.s
neont2-shift-encoding.s
neont2-shiftaccum-encoding.s
neont2-shuffle-encoding.s
neont2-sub-encoding.s
neont2-table-encoding.s
neont2-vld-encoding.s
neont2-vst-encoding.s
not-armv4.s ARM: Let the assembler reject v5 instructions in v4 mode. 2014-01-18 19:03:19 +00:00
obsolete-v8.s
pool.s ARM IAS: add support for the .pool directive 2013-12-20 07:21:16 +00:00
pr11877.s
relocated-mapping.s
simple-fp-encoding.s Add ARM fconsts/fconstd aliases for vmov.f32/vmov.f64 2014-01-07 18:19:23 +00:00
single-precision-fp.s
symbol-variants-errors.s
symbol-variants.s ARM: add tlsldo relocation 2014-01-20 11:00:40 +00:00
target-expressions.s ARM IAS: support emitting constant values in target expressions 2014-01-11 23:03:48 +00:00
thumb2-b.w-encodingT4.s
thumb2-branches.s
thumb2-cbn-to-next-inst.s Fix a bug with the ARM thumb2 CBNZ and CBNZ instructions that 2014-01-10 00:43:32 +00:00
thumb2-diagnostics.s
thumb2-ldrd.s
thumb2-mclass.s Amending test/MC/ARM/thumb2-mclass.s to match its apparent original purpose (to test the ARMv6M/ARMv7M commonality), and creating a new test case for the differences between ARMv6M and ARMv7M 2014-01-10 16:49:49 +00:00
thumb2-narrow-dp.ll
thumb2-pldw.s
thumb-diagnostics.s
thumb-fp-armv8.s
thumb-hints.s
thumb-invalid-crypto.txt
thumb-neon-crypto.s
thumb-neon-v8.s
thumb-only-conditionals.s
thumb-shift-encoding.s
thumb-st_other.s Move llvm/test/MC/ELF/thumb-st_other.s to test/MC/ARM. 2013-12-05 02:21:44 +00:00
thumb.s
thumbv7m.s Amending test/MC/ARM/thumb2-mclass.s to match its apparent original purpose (to test the ARMv6M/ARMv7M commonality), and creating a new test case for the differences between ARMv6M and ARMv7M 2014-01-10 16:49:49 +00:00
unwind-stack-diagnostics.s ARM IAS: allow more depth in contextual diagnostics 2014-01-07 02:29:00 +00:00
v8_IT_manual.s
vfp4.s
vfp-aliases-diagnostics.s ARM IAS: account for predicated pre-UAL mnemonics 2013-12-30 18:38:01 +00:00
vfp-aliases.s ARM IAS: account for predicated pre-UAL mnemonics 2013-12-30 18:38:01 +00:00
vpush-vpop.s