Mips direct object exception handling regression
authorJack Carter <jack.carter@imgtec.com>
Mon, 1 Apr 2013 21:55:15 +0000 (21:55 +0000)
committerJack Carter <jack.carter@imgtec.com>
Mon, 1 Apr 2013 21:55:15 +0000 (21:55 +0000)
commit732f4bc7c4baa7546b0942f69562d4fb3f474999
tree50cae07d92622a82527327e98a94a24c57d3db2a
parent08001a5a1565adb8ce18b97537dd75075992d09a
Mips direct object exception handling regression

Revision 177141 caused a regression in all but
mips64 little endian. That is because none of the
other Mips targets had test cases checking the
contents of the .eh_frame section. This patch fixes
both the llvm code and adds an assembler test case
to include the current 4 flavors.

The test cases unfortunately rely on llvm-objdump. A
preferable method would be to use a pretty printer output
such as what readelf -wf <elf_file> would give.

I also changed the name of the test case to correct a typo.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178506 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Object/ELF.h
lib/MC/MCObjectFileInfo.cpp
test/MC/Mips/eh-frame.s [new file with mode: 0644]
test/MC/Mips/fde-reloc.s [new file with mode: 0644]