diff options
author | Dimitry Andric <dimitry@andric.com> | 2016-12-20 07:58:49 +0000 |
---|---|---|
committer | Dimitry Andric <dimitry@andric.com> | 2016-12-20 07:58:49 +0000 |
commit | 003fe25b07947a1cce021a9c523f5b4780790198 (patch) | |
tree | ae82443219032e1dc629451ab1bad91cdbfe24c7 /clang/lib/CodeGen/CodeGenModule.h | |
parent | 543f1acadb2f3d10df9c172917fbea9730ebabcb (diff) | |
download | bcm5719-llvm-003fe25b07947a1cce021a9c523f5b4780790198.tar.gz bcm5719-llvm-003fe25b07947a1cce021a9c523f5b4780790198.zip |
Fix build breakage on FreeBSD after rL289878/rL289881
Summary:
After rL289878/rL289881, the build on FreeBSD is broken, because
sanitizer_platform_limits_posix.cc attempts to include <utmp.h> and use
`struct utmp`, neither of which are supported anymore on FreeBSD.
Fix this by adding `&& !SANITIZER_FREEBSD` in a few places, and stop
intercepting utmp functions altogether for FreeBSD.
Reviewers: kubabrecka, emaste, eugenis, ed
Subscribers: ed, llvm-commits
Differential Revision: https://reviews.llvm.org/D27902
llvm-svn: 290167
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
0 files changed, 0 insertions, 0 deletions