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

Commit 975e3a6

Browse files
committed
Align the size of the Mono EH table to 8 to prevent an ld assertion. Fixes #55553.
1 parent dbb6fdf commit 975e3a6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/CodeGen/AsmPrinter/DwarfMonoException.cpp

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

626+
Asm->EmitAlignment(8);
627+
626628
Streamer.EmitLabel(EHFrameEndSym);
627629
}
628630

0 commit comments

Comments
 (0)