[llvm-commits] [llvm] r145977 - /llvm/trunk/lib/MC/MCDwarf.cpp

Bill Wendling isanbard at gmail.com
Tue Dec 6 14:18:12 PST 2011


Author: void
Date: Tue Dec  6 16:18:12 2011
New Revision: 145977

URL: http://llvm.org/viewvc/llvm-project?rev=145977&view=rev
Log:
Re-enable compact unwind. It seems to work now. <rdar://problem/10441838>

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=145977&r1=145976&r2=145977&view=diff
==============================================================================
--- llvm/trunk/lib/MC/MCDwarf.cpp (original)
+++ llvm/trunk/lib/MC/MCDwarf.cpp Tue Dec  6 16:18:12 2011
@@ -1009,10 +1009,7 @@
   ArrayRef<MCDwarfFrameInfo> FrameArray = Streamer.getFrameInfos();
 
   // Emit the compact unwind info if available.
-  // FIXME: This emits both the compact unwind and the old CIE/FDE
-  //        information. Only one of those is needed.
-  // FIXME: Disable. This seems to still be causing failures.
-  if (false && IsEH && MOFI->getCompactUnwindSection())
+  if (IsEH && MOFI->getCompactUnwindSection())
     for (unsigned i = 0, n = Streamer.getNumFrameInfos(); i < n; ++i) {
       const MCDwarfFrameInfo &Frame = Streamer.getFrameInfo(i);
       if (Frame.CompactUnwindEncoding)





More information about the llvm-commits mailing list