From: Bill Wendling Date: Thu, 15 Dec 2011 00:14:24 +0000 (+0000) Subject: Re-re-enable compact unwind after fixing a failure in SingleSource/Benchmarks/Shootou... X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=7a13b72bbbadaa9274f6a58774970b9b95706330;p=oota-llvm.git Re-re-enable compact unwind after fixing a failure in SingleSource/Benchmarks/Shootout-C++/except.cpp and friends. It was encoding the stored registers in the wrong order. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146617 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/MC/MCDwarf.cpp b/lib/MC/MCDwarf.cpp index 09a64a5390a..46ab65ffeb4 100644 --- a/lib/MC/MCDwarf.cpp +++ b/lib/MC/MCDwarf.cpp @@ -1348,8 +1348,7 @@ void MCDwarfFrameEmitter::Emit(MCStreamer &Streamer, ArrayRef FrameArray = Streamer.getFrameInfos(); // Emit the compact unwind info if available. - // FIXME: Re-enable. - 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)