diff options
author | Bill Wendling <isanbard@gmail.com> | 2011-07-15 00:07:31 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2011-07-15 00:07:31 +0000 |
commit | 79a6a48851e9765bd01ac60be93f8fea22f30f4a (patch) | |
tree | e2b6e74a319a3b1e8e1190964c9dd937e266d3d2 /lib/MC/MCDwarf.cpp | |
parent | 1abf2cb59b8d63415780a03329307c0997b2670c (diff) |
Encode that we have a personality function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135227 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCDwarf.cpp')
-rw-r--r-- | lib/MC/MCDwarf.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/MC/MCDwarf.cpp b/lib/MC/MCDwarf.cpp index 9bc9415837..e8da32514b 100644 --- a/lib/MC/MCDwarf.cpp +++ b/lib/MC/MCDwarf.cpp @@ -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; |