MC: add enumeration of WinEH data encoding
authorSaleem Abdulrasool <compnerd@compnerd.org>
Wed, 11 Jun 2014 04:19:25 +0000 (04:19 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Wed, 11 Jun 2014 04:19:25 +0000 (04:19 +0000)
commitfaa29bd5297298a7efb671e96609666c2e753d70
treeb55e85233c35d207f2866c362d02dea5eccba1aa
parentbfa9be26a741c8a43e84216d5f8e6f8a427ebd86
MC: add enumeration of WinEH data encoding

Most Windows platforms use auxiliary data for unwinding.  This information is
stored in the .pdata section.  The encoding format for the data differs between
architectures and Windows variants.  Windows MIPS and Alpha use identical
formats; Alpha64 is the same with different widths.  Windows x86_64 and Itanium
share the representation.  All Windows CE entries are identical irrespective of
the architecture.  ARMv7 (Windows [NT] on ARM) has its own format.

This enumeration will become the differentiator once the windows EH emission
infrastructure is generalised, allowing us to emit the necessary unwinding
information for Windows on ARM.

llvm-svn: 210634
llvm/include/llvm/MC/MCAsmInfo.h
llvm/lib/MC/MCAsmInfo.cpp