[llvm-commits] [llvm] r135227 - /llvm/trunk/lib/MC/MCDwarf.cpp
Bill Wendling
isanbard at gmail.com
Thu Jul 14 17:07:31 PDT 2011
Author: void
Date: Thu Jul 14 19:07:31 2011
New Revision: 135227
URL: http://llvm.org/viewvc/llvm-project?rev=135227&view=rev
Log:
Encode that we have a personality function.
Modified:
llvm/trunk/lib/MC/MCDwarf.cpp
Modified: llvm/trunk/lib/MC/MCDwarf.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/MCDwarf.cpp?rev=135227&r1=135226&r2=135227&view=diff
==============================================================================
--- llvm/trunk/lib/MC/MCDwarf.cpp (original)
+++ llvm/trunk/lib/MC/MCDwarf.cpp Thu Jul 14 19:07:31 2011
@@ -722,6 +722,9 @@
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;
More information about the llvm-commits
mailing list