This is an archive of the discontinued LLVM Phabricator instance.

[XRay][lib] Support and temporarily skip over CustomEvent records
ClosedPublic

Authored by dberris on May 10 2017, 12:39 AM.

Details

Summary

In D30630 we will start writing custom event records. To avoid breaking
the tools that read the FDR mode records, we skip over these records.
To support these custom event records more effectively, we will have to
expose them in the trace loading API. Those changes will be forthcoming.

Diff Detail

Repository
rL LLVM

Event Timeline

dberris created this revision.May 10 2017, 12:39 AM
timshen accepted this revision.May 11 2017, 6:01 PM
timshen added inline comments.
lib/XRay/Trace.cpp
278 ↗(On Diff #98410)

Missing break?

This revision is now accepted and ready to land.May 11 2017, 6:01 PM
dberris updated this revision to Diff 98707.May 11 2017, 6:06 PM
dberris marked an inline comment as done.
  • fixup: missing break
lib/XRay/Trace.cpp
278 ↗(On Diff #98410)

Good catch! Thanks.

This revision was automatically updated to reflect the committed changes.