Commit 7cc45f1
committed
[lldb][debugserver] Save and restore the SVE/SME register state
debugserver isn't saving and restoring the SVE/SME register state
around inferior function calls.
Making arbitrary function calls while in Streaming SVE mode is
generally a poor idea because a NEON instruction can be hit and
crash the expression execution, which is how I missed this, but
they should be handled correctly if the user knows it is safe
to do.
rdar://1468862101 parent 749c20b commit 7cc45f1
File tree
1 file changed
+29
-1
lines changed- lldb/tools/debugserver/source/MacOSX/arm64
1 file changed
+29
-1
lines changedLines changed: 29 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2953 | 2953 | | |
2954 | 2954 | | |
2955 | 2955 | | |
2956 | | - | |
| 2956 | + | |
| 2957 | + | |
| 2958 | + | |
| 2959 | + | |
| 2960 | + | |
| 2961 | + | |
| 2962 | + | |
| 2963 | + | |
2957 | 2964 | | |
2958 | 2965 | | |
2959 | 2966 | | |
| |||
3122 | 3129 | | |
3123 | 3130 | | |
3124 | 3131 | | |
| 3132 | + | |
| 3133 | + | |
| 3134 | + | |
| 3135 | + | |
| 3136 | + | |
| 3137 | + | |
| 3138 | + | |
| 3139 | + | |
| 3140 | + | |
3125 | 3141 | | |
3126 | 3142 | | |
3127 | 3143 | | |
| |||
3149 | 3165 | | |
3150 | 3166 | | |
3151 | 3167 | | |
| 3168 | + | |
| 3169 | + | |
| 3170 | + | |
| 3171 | + | |
| 3172 | + | |
| 3173 | + | |
| 3174 | + | |
| 3175 | + | |
| 3176 | + | |
| 3177 | + | |
| 3178 | + | |
| 3179 | + | |
3152 | 3180 | | |
3153 | 3181 | | |
3154 | 3182 | | |
| |||
0 commit comments