Fix alignment of unwind data.
authorKai Nacke <kai.nacke@redstar.de>
Sat, 6 Jul 2013 17:16:50 +0000 (17:16 +0000)
committerKai Nacke <kai.nacke@redstar.de>
Sat, 6 Jul 2013 17:16:50 +0000 (17:16 +0000)
commit59c5c6c2b24b77371e53e6dbdf035edb50eafe1a
tree99ce449570d604d7bba46aabf3bc7f112b63fde6
parenteececbc7d3d420a27f9e1f9e11cce1b9bbff953f
Fix alignment of unwind data.

For alignment purposes, the instruction array will always have an even
number of entries, with the final entry potentially unused (in which
case the array will be one longer than indicated by the count of unwind
codes field).

Reviewed by Charles Davis and Nico Rieck.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185760 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/MCWin64EH.cpp
test/MC/COFF/seh-align1.s [new file with mode: 0644]
test/MC/COFF/seh-align2.s [new file with mode: 0644]
test/MC/COFF/seh-align3.s [new file with mode: 0644]