Call generateCompactUnwindEncodings() right before we need to output the frame inform...
authorBill Wendling <isanbard@gmail.com>
Mon, 9 Sep 2013 19:48:37 +0000 (19:48 +0000)
committerBill Wendling <isanbard@gmail.com>
Mon, 9 Sep 2013 19:48:37 +0000 (19:48 +0000)
commitda11df0c22f5d0ba2e2be3ae4a7076c806233db8
tree5c6b6d725fd502b9d691276ef457b0f0aa67f9a8
parent2c9905a1f3bcf22cc2f93332cc8411d11798ba07
Call generateCompactUnwindEncodings() right before we need to output the frame information.

There are more than one paths to where the frame information is emitted. Place
the call to generateCompactUnwindEncodings() into the method which outputs the
frame information, thus ensuring that the encoding is there for every path. This
involved threading the MCAsmBackend object through to this method.

<rdar://problem/13623355>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190335 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCDwarf.h
include/llvm/MC/MCStreamer.h
lib/CodeGen/LLVMTargetMachine.cpp
lib/MC/MCAsmStreamer.cpp
lib/MC/MCDwarf.cpp
lib/MC/MCELFStreamer.cpp
lib/MC/MCMachOStreamer.cpp
lib/MC/MCStreamer.cpp