<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/76794>76794</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[AArch64] aarch64 don't support lower eh_return
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
SihangZhu
</td>
</tr>
</table>
<pre>
LLVM in aarch64 does not support lowering eh_frame. There is no error in the current compilation, but no corresponding code is generated. [godbolt](https://godbolt.org/#z:OYLghAFBqd5QCxAYwPYBMCmBRdBLAF1QCcAaPECAMzwBtMA7AQwFtMQByARg9KtQYEAysib0QXACx8BBAKoBnTAAUAHpwAMvAFYTStJg1AB9U8lJL6yAngGVG6AMKpaAVxYMQAJlIOAMngMmABy7gBGmMQgAKykAA6oCoS2DM5uHnoJSTYCAUGhLBFRXBaYVjkMQgRMxARp7p4%2BlpjWKVU1BHkh4ZExFtW19RklCgOdgd2FvVwAlBaorsTI7BwAbqh46ACkGgCCmAhcANQQgQRHqqRH65tHAFRxMzu7WwDsAELPR0emYa50NgYxgOxmImAIiwYJ0uR0eWwAzJ89m8ACIcOa0TjRXieDhaUioTiOI4KBZLTBHLZeeE8UgETTouYAa28kgAdFwAByc%2BGc6LwgBs0U5kgFkmi0kxHEkvBYEg0GlIuPxhI4vAUIEV9Lx6NIcFgMEQKFQLDidEi5EoaFN5qiNRYq05AFpkMgDEYuNEFXwAZENRAwgzSGFAjUAJ6cWkh5jEMMAeTC2ha2tp1rYgjjDFoEZ1pCwf2AjjEtA13F4WBYhmA4lz%2BDBrVWmFL%2BMwqhargIK1pZzKQdoeDCxHDziwQYIxDwcrLcyoBmACgAanhMAB3ONxRiR3j8QQiMTsKQyQSKFTqXO6HzukxmfQDjWQOaoOIVUsuo68VCN4gTrD3iBzZpWjsCAHCGTwSn8CYCiKTJEmSAQwNg7IUi6aDplKco2jGRCRjKZMsI6VCemKfo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xQCkLvpDQsTC42XMYtceupp5IHclVbyi9IgvRWFYmxkh7GOKOM4xSLZ45QxKCg1KaCjzyG5lgnQ8lcr5UKqYkeKpyqVQ7EcGqljrG2IcU4lxbUIAp1tN1eEXiBqkAQJgJgWAoj/gifnHSbIJQKRLsEyQOyRRzR6WqBuS1s5yUFGySybd15tw3q8V4Y1c7DyOXZE53iipeG6W8/q5zSBfiSHYSQQA%3D%3D%3D)
```C
void
eh1 (int x, void *p)
{
__builtin_eh_return (x, p);
}
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxclkmvq7jTxj8NZxP1FRAgZHEWZh5DzBjYXBEgxsxhCJBP_-rk9vvvVkvIlF1-HlchJP_SacKoK4pvghUIVvpKl7nsx28Pl2mHknL5uvf5_m1ZoX3A3SFNx6zkmEPeF9Oh6-fDtAxDP86Hpl-LEXfoUJS_H2PaFr8OflmMxQH_7DsU49iPPwZzWRyyZRyLbj5kfTvgJp1x3xG0eLgv88_WrB_HYhr6Lv-xy_r844GKrhjTuch_HQhWQH1-75uZYCWC5st5HibiCAhaIWjl79SvfkSfheObOAIntlAJFOGZs1DcQLxeY8EWW8HNBQsoFBQzkF5lEdjvVZhtcAJwVWYbCjtw0dmcYSyDfcJ3Et6AuPGCAMxe6HwAAqANK7BfQIl9bzYQBYRzwDeGxe2gQ2qocsA2hxSEW2xDYDS6A-wO2S0Q9hMS1NaGCJh7DQDXi71HSza7aF1veH4sgkAtLUFxb0Iah1VtQ-TaG3CH08AQNEsLzVBFZhhQglaXTCJvyhxRZ7duROTkKKeVV7iCRkj7cfL1k7CC-7NkOCDWKhLFFpQZuECIoKs9n67GsbMGFHez38spWqUJyNbVJYs2TlnyguINOVurt0DHa2yQi0sW0QreBn9ueSDqmZOSfuXecCGVaYB7Hzs6YwqJ5QualRSFzAdI9v1-iUFK8zUCubICYc8-XagZZ61ImMiArZFSt5isN02uX0IsI1Jt9OW6lTrzAoEuh2dr4y56piBbhqYCLQnnMmblPlUu7B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