diff options
author | Doug Moore <dougm@rice.edu> | 2017-05-08 19:02:40 -0500 |
---|---|---|
committer | Doug Moore <dougm@rice.edu> | 2017-05-12 22:23:59 -0500 |
commit | 04db2b7ceabe425fa35100ca171ce41345768b62 (patch) | |
tree | 3c56d0fd808aa6b13e946e7db40ac858d5955f1b | |
parent | 1c76d41939fbc9fcc1c1371a9c8c80a00cf49667 (diff) | |
download | libunwind-04db2b7ceabe425fa35100ca171ce41345768b62.tar.gz |
The call to put_unwind_info is what makes pi invalid, so clear the
valid bit here, and soon stop bothering to clear it in other places.
-rw-r--r-- | src/dwarf/Gparser.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dwarf/Gparser.c b/src/dwarf/Gparser.c index 3a4e0633..6a5eeb2c 100644 --- a/src/dwarf/Gparser.c +++ b/src/dwarf/Gparser.c @@ -499,6 +499,7 @@ put_unwind_info (struct dwarf_cursor *c, unw_proc_info_t *pi) mempool_free (&dwarf_cie_info_pool, pi->unwind_info); pi->unwind_info = NULL; } + c->pi_valid = 0; } static inline int |