[PATCH] D54129: [AArch64] [Windows] Trap after noreturn calls.

Reid Kleckner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 6 15:11:21 PST 2018


rnk added a comment.

In https://reviews.llvm.org/D54129#1289509, @efriedma wrote:

> The case I'm trying to fix is functions/funclets which don't have an epilogue at all.  As far as I can tell, the x86 only emits SEH_Epilogue before an epilogue; I don't see how it's related.


Right, I remember how this works now. Go ahead and do this.

You could imagine adding an instruction after a call that only turns into a real nop if the next instruction is in a different EH region.


Repository:
  rL LLVM

https://reviews.llvm.org/D54129





More information about the llvm-commits mailing list