Encode that we have a personality function.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135227 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bill Wendling 2011-07-15 00:07:31 +00:00
parent 1abf2cb59b
commit 79a6a48851

View File

@ -722,6 +722,9 @@ bool FrameEmitterImpl::EmitCompactUnwind(MCStreamer &Streamer,
getDataAlignmentFactor(Streamer), IsEH);
if (!Encoding) return false;
// The encoding needs to know we have a personality function.
if (Frame.Personality)
Encoding |= 0x10000000;
// The encoding needs to know we have an LSDA.
if (Frame.Lsda)
Encoding |= 0x40000000;