Updates to Win64EH.h structures.
authorMichael J. Spencer <bigcheesegs@gmail.com>
Wed, 5 Dec 2012 20:12:13 +0000 (20:12 +0000)
committerMichael J. Spencer <bigcheesegs@gmail.com>
Wed, 5 Dec 2012 20:12:13 +0000 (20:12 +0000)
commit717a142823f84bd3aa958755ead1d991860ca8f4
treeb2137aae19b4d56372254815414d0bdf922d1eb9
parentd224f28437acb486fcc1c405d8e33302cf0999ab
Updates to Win64EH.h structures.

Change member types of RuntimeFunction and UnwindInfo from uint64_t to
uint32_t:
These members represent addresses. According to MSDN, they are image
relative, that is, they are 32-bit offsets from the starting address
of the image that contains the function table entry.
See MSDN for more information:
RUNTIME_FUNCTION: http://msdn.microsoft.com/en-us/library/ft9x1kdx.aspx
UNWIND_INFO: http://msdn.microsoft.com/en-us/library/ddssxxy8.aspx

Make Win64.h platform-neutral:
The standard types unit8_t, uint16_t and uint32_t are replaced with
their counterparts from Endian.h. Accessor functions are introduced to
replace bit fields.

Patch by João Matos and Kai Nacke.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169414 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/Win64EH.h