mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-27 01:27:39 +01:00
Fix bug found by Brian Sumner: if get_proc_info() returned a
a failure status, we ended up bugging out at a time when the script was already created, but not fully initialized. To prevent this, the proc-info is now obtained early on, i.e., before creating the script, so that if the proc-info cannot be obtained, we can bug out without bad side-effects. Also, I added a test-program (test-proc-info) which verifies that proc-info lookup failures are not cached (which we don't want, because it could turn temporary failures into permanent ones and would break UNW_ESTOPUNWIND). BKrev: 3f694c12mGQ-jHr9HOtB4YXFHeLdMw
This commit is contained in:
parent
510a7c82f7
commit
c15421a046