MC: add and use an accessor for WinCFI
authorSaleem Abdulrasool <compnerd@compnerd.org>
Thu, 10 Jul 2014 04:50:06 +0000 (04:50 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Thu, 10 Jul 2014 04:50:06 +0000 (04:50 +0000)
commit09f505a0a551743e1c89463dabc4ed407eb271cf
treeaf6d4f5dcae8ef6c594008c81f7e9a97f1bca2f9
parent141d3e3015f67604d122618f1ba97c41aaab80b8
MC: add and use an accessor for WinCFI

This adds a utility method to access the WinCFI information in bulk and uses
that to iterate rather than requesting the count and individually iterating
them.  This is in preparation for restructuring WinCFI handling to enable more
clear sharing across architectures to enable unwind information emission for
Windows on ARM.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212683 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCStreamer.h
lib/MC/MCWin64EH.cpp