<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/146936>146936</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[AArch64] VG is not correctly saved on Darwin targets when switching to/from streaming mode
</td>
</tr>
<tr>
<th>Labels</th>
<td>
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
efriedma-quic
</td>
</tr>
</table>
<pre>
334a366ba792adb41ccf43457b65ac88aa37f178 disables saving VG if the target is Darwin, and doesn't have SVE support. This is problematic: if future Apple hardware ever enables SVE support, unwind will break because the unwinder won't know the current VG.
@aemerson @jroelofs @MacDue @sdesmalen-arm
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxMks2O4ygQgJ8GX0qJCOCfHHzIbjZ92tOu-l5AOaYbg4efWP32I6czmpGQKFFU8ZU-MGd3D0Qja_9i7bXBWuaYRpqSI7vg4Ud1ptHRfo1SKpRdp7E_C7RanYyZlFRtr7sWzTAgyn469QNYl1F7ypDx4cId3t_ATVBmgoLpTgVchiumzQUm_gYMFmykHJjoC8z4IPjv_R_IdV1jKkf4f3Z5r1hT1J4WLM4wedk7TrXURHBZV08wY7IbJgJ6UAIK3wR_dNrfqmFzwcLmvAedCD9Bk8Ga6Un3naUEW_yG-Qxxe2ZMTYlCgfe3I-OXfSmOtFDKMQBT_CNF8nHKe_wvmmulPcqW8oKewgHTAo0dpT3LMzY0nvr21HZt3_JmHqd26AWfJt6dNfWiU2Lig7ZWSC06rrBxo-Ci5T2Xp4ELyY80KIPGSC6E6qy0THFa0Pmj94_lGNO9cTlXGk-qO8uu8ajJ51-C07jfOuh6z0xx73LJv-uKK_75FS6XZOZOsfb61JchxAImpkSm-K_dLFmI4eXxJTbDNlOAvLli5t18iUzcphQXyCURLvvZEi01NflxLmXNTF6YuDFxu7syV300cWHitvO8tsOa4geZwsTtOVRm4vaa6zGKnwEAAP__3xHnNg">