OSDN Git Service

Disable generation of compact unwind encodings. <rdar://problem/10441578>
authorBob Wilson <bob.wilson@apple.com>
Mon, 14 Nov 2011 18:21:07 +0000 (18:21 +0000)
committerBob Wilson <bob.wilson@apple.com>
Mon, 14 Nov 2011 18:21:07 +0000 (18:21 +0000)
This still seems to be causing some failures.  It needs more testing before
it gets enabled again.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144543 91177308-0d34-0410-b5e6-96231b3b80d8

lib/MC/MCDwarf.cpp

index c274b9d..d2bbd7d 100644 (file)
@@ -1011,7 +1011,8 @@ void MCDwarfFrameEmitter::Emit(MCStreamer &Streamer,
   // 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.
-  if (IsEH && MOFI->getCompactUnwindSection())
+  // FIXME: Disable. This seems to still be causing failures.
+  if (false && IsEH && MOFI->getCompactUnwindSection())
     for (unsigned i = 0, n = Streamer.getNumFrameInfos(); i < n; ++i) {
       const MCDwarfFrameInfo &Frame = Streamer.getFrameInfo(i);
       if (Frame.CompactUnwindEncoding)