OSDN Git Service

Assorted fixes for Win64 EH unwind info emission:
authorCharles Davis <cdavis@mines.edu>
Fri, 27 May 2011 15:10:25 +0000 (15:10 +0000)
committerCharles Davis <cdavis@mines.edu>
Fri, 27 May 2011 15:10:25 +0000 (15:10 +0000)
commit07cbe231738d64d830b77303d664b531130722f7
tree15a979739e379b6131da6168f4b1f278fd2752cb
parent81e193cc1fad7ef13bb2d2043de011cac591894c
Assorted fixes for Win64 EH unwind info emission:
- Flip order of bitfields. This gets our output matching GAS.
- Handle case where the end of the prolog wasn't specified.
- If the resulting unwind info struct is less than 8 bytes, pad to 8 bytes.

Add a test for the latter two.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132188 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/MCWin64EH.cpp
test/MC/COFF/seh.s