Skip to content
This repository was archived by the owner on Dec 20, 2019. It is now read-only.

Commit 6aa74ae

Browse files
committed
Fix a regression caused by:
commit 975e3a6 Author: Zoltan Varga <vargaz@gmail.com> Date: Mon May 1 04:01:22 2017 -0400 Align the size of the Mono EH table to 8 to prevent an ld assertion. Fixes #55553. The align instruction was emitted too early increasing the size of last entry of the EH table. Also, it was aligned to 256 (2^8) instead of 8. Fixes #58264.
1 parent 5056b9f commit 6aa74ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/CodeGen/AsmPrinter/DwarfMonoException.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -623,9 +623,9 @@ void DwarfMonoException::EmitMonoEHFrame(const Function *Personality)
623623
Streamer.AddBlankLine();
624624
}
625625

626-
Asm->EmitAlignment(8);
627-
628626
Streamer.EmitLabel(EHFrameEndSym);
627+
628+
Asm->EmitAlignment(3);
629629
}
630630

631631
DwarfMonoException::DwarfMonoException(AsmPrinter *A)

0 commit comments

Comments
 (0)