This is an archive of the discontinued LLVM Phabricator instance.

[XRay][compiler-rt] Use gettid instead of getpid in FDR mode.
ClosedPublic

Authored by dberris on Feb 2 2017, 10:49 PM.

Details

Summary

This was pointed out that FDR mode didn't quite put the thread ID in the
buffers, but instead would write down the parent process ID.

Diff Detail

Repository
rL LLVM

Event Timeline

dberris created this revision.Feb 2 2017, 10:49 PM
pelikan accepted this revision.Feb 5 2017, 5:50 PM
This revision is now accepted and ready to land.Feb 5 2017, 5:50 PM
This revision was automatically updated to reflect the committed changes.