Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[libunwind] fix unwinding from signal handler
In case of this is frame of signal handler, the IP should be incremented, because the IP saved in the signal handler points to first non-executed instruction, while FDE/CIE expects IP to be after the first non-executed instruction. v2: move the increment from DwarfInstructions<A, R>::stepWithDwarf() into the UnwindCursor<A, R>::setInfoBasedOnIPRegister() to avoid exposing posslibly unaligned IP (also note, that this matches with gcc implementation as well) Refs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26208
- Loading branch information