Page MenuHomePhabricator

[XRay] clarify error messages when parsing broken traces
ClosedPublic

Authored by pelikan on Jan 24 2018, 9:13 AM.

Details

Summary

When there's a mismatch of a function argument being right after the
wrong function, print an offset into the file where that happened, to
ease further debugging.

Diff Detail

Repository
rL LLVM

Event Timeline

pelikan created this revision.Jan 24 2018, 9:13 AM

FWIW, I've been seeing signal handler traces written between ENTER_ARG and ARG_PAYLOAD.

dberris accepted this revision.Jan 27 2018, 3:22 PM

LGTM

This revision is now accepted and ready to land.Jan 27 2018, 3:22 PM
This revision was automatically updated to reflect the committed changes.