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)
commit427c08d48b4ed3d47fc8f1ca8756bca8c1a5eb0b
tree704096a43c2daa1061e31763bacce6b0f7588797
parent8876c3face0e6b0d0fa7cee476b308011fe9965e
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.

llvm-svn: 212683
llvm/include/llvm/MC/MCStreamer.h
llvm/lib/MC/MCWin64EH.cpp