forked from OSchip/llvm-project
Re-enable compact unwind. It seems to work now. <rdar://problem/10441838>
llvm-svn: 145977
This commit is contained in:
parent
67a70c995a
commit
efdd2f8fef
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue