This is an archive of the discontinued LLVM Phabricator instance.

[Msan] Fix the strerror_r unit test to build on FreeBSD
ClosedPublic

Authored by kutuzov.viktor.84 on Jan 21 2015, 3:54 AM.

Diff Detail

Repository
rL LLVM

Event Timeline

kutuzov.viktor.84 retitled this revision from to [Msan] Fix the strerror_r unit test to build on FreeBSD.
kutuzov.viktor.84 updated this object.
kutuzov.viktor.84 edited the test plan for this revision. (Show Details)
kutuzov.viktor.84 added a subscriber: Unknown Object (MLST).
kutuzov.viktor.84 added inline comments.
lib/msan/tests/msan_test.cc
572 ↗(On Diff #18500)

FreeBSD implements the POSIX variant. The cast to size_t is to suppress the clang's warning on cast to a pointer from an integer of different size.

eugenis accepted this revision.Jan 21 2015, 5:07 AM
eugenis edited edge metadata.

LGTM

This revision is now accepted and ready to land.Jan 21 2015, 5:07 AM
This revision was automatically updated to reflect the committed changes.