Fix the fde encoding used by mips to match gas.
authorRafael Espindola <rafael.espindola@gmail.com>
Wed, 3 Apr 2013 03:13:19 +0000 (03:13 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Wed, 3 Apr 2013 03:13:19 +0000 (03:13 +0000)
commit04011e8429033ae0623ea629527d2d13de3f8109
treecd53708ff252d83d92862acfb8364d477ec54838
parent729c19482f434d8f3889d2a2c611a6e7813444f0
Fix the fde encoding used by mips to match gas.

This finally fixes the encoding. The patch also
* Removes eh-frame.ll. It was an unnecessary .ll to .o test that was checking
  the wrong value.
* Merge fde-reloc.s and eh-frame.s into a single test, since the only difference
  was the run lines.
* Don't blindly test the content of the entire .eh_frame section. It makes it
  hard to anyone actually fixing a bug and hitting a difference in a binary
  blob. Instead, use a CHECK for each field and document what is being checked.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178615 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/MCObjectFileInfo.cpp
test/MC/Mips/eh-frame.ll [deleted file]
test/MC/Mips/eh-frame.s
test/MC/Mips/fde-reloc.s [deleted file]