Re-enable compact unwind. It seems to work now. <rdar://problem/10441838>
authorBill Wendling <isanbard@gmail.com>
Tue, 6 Dec 2011 22:18:12 +0000 (22:18 +0000)
committerBill Wendling <isanbard@gmail.com>
Tue, 6 Dec 2011 22:18:12 +0000 (22:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145977 91177308-0d34-0410-b5e6-96231b3b80d8

lib/MC/MCDwarf.cpp

index d2bbd7d559d7e14eb8453101ebd6db8d5eb237ac..8157b4177a11837e869887b08044c9818ca72380 100644 (file)
@@ -1009,10 +1009,7 @@ void MCDwarfFrameEmitter::Emit(MCStreamer &Streamer,
   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)