[PATCH] D14344: [WinEH] Set ExceptionPointerRegister for CoreCLR

Reid Kleckner via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 4 11:36:50 PST 2015


rnk added a comment.

Maybe getExceptionPointerRegister() should be virtual and accept a personality function instead. I'm imagining a situation where CoreCLR personality functions are in a module with SEH personality functions, and this change as-is won't work.

You can avoid updating all targets by leaving behind the default implementation that returns the ExceptionPointerRegister field for targets that don't have split EH personality disorder. :)


http://reviews.llvm.org/D14344





More information about the llvm-commits mailing list