forked from OSchip/llvm-project
Emit the compact unwind *if* we have a compact unwind encoding.
*headdesk* llvm-svn: 144138
This commit is contained in:
parent
e4a38a73fd
commit
39674fc008
|
@ -1020,7 +1020,7 @@ void MCDwarfFrameEmitter::Emit(MCStreamer &Streamer,
|
|||
if (IsEH && MOFI->getCompactUnwindSection())
|
||||
for (unsigned i = 0, n = Streamer.getNumFrameInfos(); i < n; ++i) {
|
||||
const MCDwarfFrameInfo &Frame = Streamer.getFrameInfo(i);
|
||||
if (!Frame.CompactUnwindEncoding)
|
||||
if (Frame.CompactUnwindEncoding)
|
||||
Emitter.EmitCompactUnwind(Streamer, Frame);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue