diff options
| author | Dean Michael Berris <dberris@google.com> | 2018-11-09 06:49:00 +0000 |
|---|---|---|
| committer | Dean Michael Berris <dberris@google.com> | 2018-11-09 06:49:00 +0000 |
| commit | e39a89fbfb2902d8557665f75f0d1acacbc86d26 (patch) | |
| tree | eb2e6478d93f9b930303f3a5e48687f7e1c08b45 /llvm/lib/CodeGen/MachineFunctionPrinterPass.cpp | |
| parent | aeae5450649b6aa58570b74ace273e3bba980d22 (diff) | |
| download | bcm5719-llvm-e39a89fbfb2902d8557665f75f0d1acacbc86d26.tar.gz bcm5719-llvm-e39a89fbfb2902d8557665f75f0d1acacbc86d26.zip | |
[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
llvm-svn: 346475
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunctionPrinterPass.cpp')
0 files changed, 0 insertions, 0 deletions

