This is an archive of the discontinued LLVM Phabricator instance.

[tsan] Fix freebsd build.
ClosedPublic

Authored by yabinc on Apr 4 2016, 10:30 PM.

Details

Summary

Freebsd doesn't have <sys/personality.h>, so call personality() only in
SANITIZER_LINUX.

Diff Detail

Event Timeline

yabinc updated this revision to Diff 52655.Apr 4 2016, 10:30 PM
yabinc retitled this revision from to [tsan] Fix freebsd build..
yabinc updated this object.
beanz accepted this revision.Apr 4 2016, 10:36 PM
beanz added a reviewer: beanz.
beanz added a subscriber: beanz.

LGTM

This revision is now accepted and ready to land.Apr 4 2016, 10:36 PM
yabinc closed this revision.Apr 4 2016, 10:43 PM