Closed
Description
Currently, we have two separate codepaths to decide if a function needs an abort-on-panic shim and if it gets the nounwind
attribute. This risks them getting out of sync -- and indeed they are out-of-sync right now, but there's lots of opposition to fix that critical bug, so I closed #63884. But I still think that refactor should happen eventually, hence this issue. That PR, as well as #63909, also have some testcases that could be added once a proper solution has been implemented.
Cc @BatmanAoD (not sure who else is in the team for this)