svn commit: r327845 - head/contrib/llvm/lib/Support/Unix
Dimitry Andric
dim at FreeBSD.org
Thu Jan 11 21:12:25 UTC 2018
Author: dim
Date: Thu Jan 11 21:12:23 2018
New Revision: 327845
URL: https://svnweb.freebsd.org/changeset/base/327845
Log:
Pull in r316581 from upstream llvm trunk (by John Baldwin):
Don't try to use a non-existent header on FreeBSD/mips.
Reviewers: dim
Differential Revision: https://reviews.llvm.org/D38807
Requested by: jhb
MFC after: 3 days
Modified:
head/contrib/llvm/lib/Support/Unix/Memory.inc
Modified: head/contrib/llvm/lib/Support/Unix/Memory.inc
==============================================================================
--- head/contrib/llvm/lib/Support/Unix/Memory.inc Thu Jan 11 20:26:17 2018 (r327844)
+++ head/contrib/llvm/lib/Support/Unix/Memory.inc Thu Jan 11 21:12:23 2018 (r327845)
@@ -27,7 +27,7 @@
#if defined(__mips__)
# if defined(__OpenBSD__)
# include <mips64/sysarch.h>
-# else
+# elif !defined(__FreeBSD__)
# include <sys/cachectl.h>
# endif
#endif
More information about the svn-src-all
mailing list