This is an archive of the discontinued LLVM Phabricator instance.

[XRay] Use std::errc::invalid_argument instead of std::errc::bad_message
ClosedPublic

Authored by kongyi on Oct 25 2018, 6:27 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

kongyi created this revision.Oct 25 2018, 6:27 PM

LGTM, but please wait for dberris approval.

MaskRay accepted this revision.Oct 25 2018, 11:05 PM
MaskRay added a subscriber: MaskRay.

LG. std::errc::bad_message EBADMSG is used rarely, in STREAMS (which Linux chose not to implement; FreeBSD has very basic implementation) and very few network functions.

This revision is now accepted and ready to land.Oct 25 2018, 11:05 PM
This revision was automatically updated to reflect the committed changes.

LGTM -- just FTR, since I missed this the first time around.

Thanks!