This is an archive of the discontinued LLVM Phabricator instance.

Fix crypt.cpp sanitizer test on FreeBSD
ClosedPublic

Authored by arichardson on Aug 6 2020, 12:22 AM.

Details

Reviewers
dim
emaste
vitalybuka
Group Reviewers
Restricted Project
Commits
rG39d25064614f: Fix crypt.cpp sanitizer test on FreeBSD
Summary

FreeBSD doesn't provide a crypt.h header but instead defines the functions
in unistd.h. Use __has_include() to handle that case.

Diff Detail

Event Timeline

arichardson created this revision.Aug 6 2020, 12:22 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 6 2020, 12:22 AM
Herald added a subscriber: krytarowski. · View Herald Transcript
arichardson requested review of this revision.Aug 6 2020, 12:22 AM
vitalybuka accepted this revision.Aug 18 2020, 8:17 PM
This revision is now accepted and ready to land.Aug 18 2020, 8:17 PM
This revision was landed with ongoing or failed builds.Aug 25 2020, 4:21 AM
This revision was automatically updated to reflect the committed changes.