try to avoid loop in getting x86_64 stack trace
svn: r12635
This commit is contained in:
parent
2f73042c99
commit
f922996173
|
@ -1470,6 +1470,9 @@ rs_lookup (struct dwarf_rs_cache *cache, struct dwarf_cursor *c)
|
|||
}
|
||||
if (rs->coll_chain >= DWARF_UNW_HASH_SIZE)
|
||||
return 0;
|
||||
if (!rs->coll_chain)
|
||||
/* Something went wrong */
|
||||
return 0;
|
||||
rs = cache->buckets + rs->coll_chain;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user