Reenable compact unwinding now that <rdar://problem/10430076> is fixed.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144351 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bill Wendling 2011-11-11 01:03:50 +00:00
parent c739577d3c
commit cf3b89f9a8

View File

@ -1012,7 +1012,7 @@ void MCDwarfFrameEmitter::Emit(MCStreamer &Streamer,
// FIXME: This emits both the compact unwind and the old CIE/FDE // FIXME: This emits both the compact unwind and the old CIE/FDE
// information. Only one of those is needed. // information. Only one of those is needed.
// FIXME: Disable. This is causing failures in the test suite. // FIXME: Disable. This is causing failures in the test suite.
if (false && IsEH && MOFI->getCompactUnwindSection()) if (IsEH && MOFI->getCompactUnwindSection())
for (unsigned i = 0, n = Streamer.getNumFrameInfos(); i < n; ++i) { for (unsigned i = 0, n = Streamer.getNumFrameInfos(); i < n; ++i) {
const MCDwarfFrameInfo &Frame = Streamer.getFrameInfo(i); const MCDwarfFrameInfo &Frame = Streamer.getFrameInfo(i);
if (Frame.CompactUnwindEncoding) if (Frame.CompactUnwindEncoding)