Re-enable compact unwind. It seems to work now. <rdar://problem/10441838>

llvm-svn: 145977
This commit is contained in:
Bill Wendling 2011-12-06 22:18:12 +00:00
parent 67a70c995a
commit efdd2f8fef
1 changed files with 1 additions and 4 deletions

View 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)