mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-03 14:31:10 +00:00
Emit the compact unwind *if* we have a compact unwind encoding.
*headdesk* git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144138 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0fdb05deb9
commit
a2ff3e2c3c
@ -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…
x
Reference in New Issue
Block a user