From owner-svn-src-projects@FreeBSD.ORG Tue Mar 24 21:58:28 2015 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 89B9DA2E; Tue, 24 Mar 2015 21:58:28 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5C585E2C; Tue, 24 Mar 2015 21:58:28 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t2OLwSDY025340; Tue, 24 Mar 2015 21:58:28 GMT (envelope-from dim@FreeBSD.org) Received: (from dim@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t2OLwRah025335; Tue, 24 Mar 2015 21:58:27 GMT (envelope-from dim@FreeBSD.org) Message-Id: <201503242158.t2OLwRah025335@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: dim set sender to dim@FreeBSD.org using -f From: Dimitry Andric Date: Tue, 24 Mar 2015 21:58:27 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r280469 - projects/lld-import/lib/clang/include/llvm/Config X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Mar 2015 21:58:28 -0000 Author: dim Date: Tue Mar 24 21:58:27 2015 New Revision: 280469 URL: https://svnweb.freebsd.org/changeset/base/280469 Log: Enable llvm threads and atomics, since lld needs them. Modified: projects/lld-import/lib/clang/include/llvm/Config/config.h projects/lld-import/lib/clang/include/llvm/Config/llvm-config.h Modified: projects/lld-import/lib/clang/include/llvm/Config/config.h ============================================================================== --- projects/lld-import/lib/clang/include/llvm/Config/config.h Tue Mar 24 21:57:17 2015 (r280468) +++ projects/lld-import/lib/clang/include/llvm/Config/config.h Tue Mar 24 21:58:27 2015 (r280469) @@ -180,7 +180,7 @@ /* #undef HAVE_LIBPSAPI */ /* Define to 1 if you have the `pthread' library (-lpthread). */ -/* #undef HAVE_LIBPTHREAD */ +#define HAVE_LIBPTHREAD 1 /* Define to 1 if you have the `shell32' library (-lshell32). */ /* #undef HAVE_LIBSHELL32 */ @@ -268,16 +268,16 @@ #define HAVE_PRINTF_A 1 /* Have pthread_getspecific */ -/* #undef HAVE_PTHREAD_GETSPECIFIC */ +#define HAVE_PTHREAD_GETSPECIFIC 1 /* Define to 1 if you have the header file. */ -/* #undef HAVE_PTHREAD_H */ +#define HAVE_PTHREAD_H 1 /* Have pthread_mutex_lock */ -/* #undef HAVE_PTHREAD_MUTEX_LOCK */ +#define HAVE_PTHREAD_MUTEX_LOCK 1 /* Have pthread_rwlock_init */ -/* #undef HAVE_PTHREAD_RWLOCK_INIT */ +#define HAVE_PTHREAD_RWLOCK_INIT 1 /* Define to 1 if srand48/lrand48/drand48 exist in */ #define HAVE_RAND48 1 @@ -486,7 +486,7 @@ /* #undef LLVM_DOCSDIR */ /* Define if threads enabled */ -#define LLVM_ENABLE_THREADS 0 +#define LLVM_ENABLE_THREADS 1 /* Define if zlib is enabled */ #define LLVM_ENABLE_ZLIB 1 @@ -495,7 +495,7 @@ /* #undef LLVM_ETCDIR */ /* Has gcc/MSVC atomic intrinsics */ -#define LLVM_HAS_ATOMICS 0 +#define LLVM_HAS_ATOMICS 1 /* Host triple LLVM will be executed on */ /* #undef LLVM_HOST_TRIPLE */ Modified: projects/lld-import/lib/clang/include/llvm/Config/llvm-config.h ============================================================================== --- projects/lld-import/lib/clang/include/llvm/Config/llvm-config.h Tue Mar 24 21:57:17 2015 (r280468) +++ projects/lld-import/lib/clang/include/llvm/Config/llvm-config.h Tue Mar 24 21:58:27 2015 (r280469) @@ -32,13 +32,13 @@ /* #undef LLVM_DOCSDIR */ /* Define if threads enabled */ -#define LLVM_ENABLE_THREADS 0 +#define LLVM_ENABLE_THREADS 1 /* Installation directory for config files */ /* #undef LLVM_ETCDIR */ /* Has gcc/MSVC atomic intrinsics */ -#define LLVM_HAS_ATOMICS 0 +#define LLVM_HAS_ATOMICS 1 /* Host triple LLVM will be executed on */ /* #undef LLVM_HOST_TRIPLE */