Page MenuHomePhabricator

[XRay] Fix enter function tracing for record unwriting
ClosedPublic

Authored by dberris on Nov 8 2018, 9:04 PM.

Details

Summary

Before this change, we could run into a situation where we may try to
undo tail exit records after writing metadata records before a function
enter event. This change rectifies that by resetting the tail exit
counter after writing the metadata records.

Diff Detail

Repository
rL LLVM

Event Timeline

dberris created this revision.Nov 8 2018, 9:04 PM
mboerger accepted this revision.Nov 8 2018, 10:03 PM
This revision is now accepted and ready to land.Nov 8 2018, 10:03 PM
This revision was automatically updated to reflect the committed changes.