Refine the ARM EHABI test cases.
authorLogan Chien <tzuhsiang.chien@gmail.com>
Sun, 9 Jun 2013 12:36:57 +0000 (12:36 +0000)
committerLogan Chien <tzuhsiang.chien@gmail.com>
Sun, 9 Jun 2013 12:36:57 +0000 (12:36 +0000)
commitc8ecf5308266acb7b11ce33be0a1ce434858b9ad
treebb007c6d6c7157085a3778fc32ce412c0b4a57af
parent18cba562c8016f8095643b5dd8c4b34b294b62dd
Refine the ARM EHABI test cases.

Since we have ARM unwind directive parser and assembler, we
can check the correctness in two stages:

1. From LLVM assembly (.ll) to ARM assembly (.s)
2. From ARM assembly (.s) to ELF object file (.o)

We already have several "*.s to *.o" test cases.  This CL adds
some "*.ll to *.s" test cases and removes the redundant "*.ll to *.o"
test cases.

New test cases to check "*.ll to *.s" code generator:

- ehabi.ll: Check the correctness of the generated unwind directives.
- section-name.ll: Check the section name of functions.

Removed test cases:

- ehabi-mc-cantunwind.ll
  (Covered by ehabi-cantunwind.ll, and eh-directive-cantunwind.s)
- ehabi-mc-compact-pr0.ll
  (Covered by ehabi.ll, eh-compact-pr0.s, eh-directive-save.s, and
   eh-directive-setfp.s)
- ehabi-mc-compact-pr1.ll
  (Covered by ehabi.ll, eh-compact-pr1.s, eh-directive-save.s, and
   eh-directive-setfp.s)
- ehabi-mc.ll
  (Covered by ehabi.ll, and eh-directive-integrated-test.s)
- ehabi-mc-section-group.ll
  (Covered by section-name.ll, and eh-directive-section-comdat.s)
- ehabi-mc-section.ll
  (Covered by section-name.ll, and eh-directive-section.s)
- ehabi-mc-sh_link.ll
  (Covered by eh-directive-text-section.s, and eh-directive-section.s)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183628 91177308-0d34-0410-b5e6-96231b3b80d8
test/CodeGen/ARM/ehabi-mc-cantunwind.ll [deleted file]
test/CodeGen/ARM/ehabi-mc-compact-pr0.ll [deleted file]
test/CodeGen/ARM/ehabi-mc-compact-pr1.ll [deleted file]
test/CodeGen/ARM/ehabi-mc-section-group.ll [deleted file]
test/CodeGen/ARM/ehabi-mc-section.ll [deleted file]
test/CodeGen/ARM/ehabi-mc-sh_link.ll [deleted file]
test/CodeGen/ARM/ehabi-mc.ll [deleted file]
test/CodeGen/ARM/ehabi.ll [new file with mode: 0644]
test/CodeGen/ARM/section-name.ll [new file with mode: 0644]