HomePhabricator

[XRay] Fix enter function tracing for record unwriting

Description

[XRay] Fix enter function tracing for record unwriting

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.

Reviewers: mboerger

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D54292

Details

Committed
dberrisNov 8 2018, 10:49 PM
Differential Revision
D54292: [XRay] Fix enter function tracing for record unwriting
Parents
rL346474: [XRay] Add atomic fences around non-atomic reads and writes
Branches
Unknown
Tags
Unknown