Fix alignment of unwind data.
authorKai Nacke <kai.nacke@redstar.de>
Sun, 15 Sep 2013 18:01:09 +0000 (18:01 +0000)
committerKai Nacke <kai.nacke@redstar.de>
Sun, 15 Sep 2013 18:01:09 +0000 (18:01 +0000)
commitc29a720b362790746ca899a0b44fa35a1b399a42
treedc2f569d37248d1a7fdf9583205a97c1a6e880bc
parent7185bdd88302a67618b2edf51c499d647e5ff492
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 Anton Korobeynikov, Charles Davis and Nico Rieck.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190767 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]