Unwinding info for stg_ap_v_info is wrong
The readelf --debug-dump=frames-interp output for stg_ap_v_info is:
00000018 0000000000000034 00000000 FDE cie=00000000 pc=000000000000000f..000000000000021d
LOC CFA rbp rsp ra
000000000000000f rbp+0 v+0 u c+0
0000000000000037 rbp+0 v+0 vexp c+0
0000000000000047 rbp+0 v+0 s c+0
It's wrong because it unwinds to the same frame, see cfa = rbp + 0.
I know the reason, I will put it in the comments below.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 8.5 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler (Debugging) |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | bgamari, simonmar |
| Operating system | |
| Architecture |