Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
common: Fix a potential cycle in the trace structure
It turns out that under some circumstances we end up clearing the pointee of `current` but not the pointer. Thus when we select the next slot we can end up reusing the same slot, making it its own parent. We forcefull break these cycles by enforcing that `current` should never be returned and be set as its own parent. Changelog-None
- Loading branch information