From owner-svn-src-projects@FreeBSD.ORG Thu Oct 15 17:35:35 2009 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3CEDC106568F; Thu, 15 Oct 2009 17:35:35 +0000 (UTC) (envelope-from rdivacky@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 2B7E28FC25; Thu, 15 Oct 2009 17:35:35 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n9FHZYk2080226; Thu, 15 Oct 2009 17:35:34 GMT (envelope-from rdivacky@svn.freebsd.org) Received: (from rdivacky@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n9FHZYwt080221; Thu, 15 Oct 2009 17:35:34 GMT (envelope-from rdivacky@svn.freebsd.org) Message-Id: <200910151735.n9FHZYwt080221@svn.freebsd.org> From: Roman Divacky Date: Thu, 15 Oct 2009 17:35:34 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r198145 - in projects/clangbsd/usr.bin/clang/include/llvm: Config Support X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.5 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: Thu, 15 Oct 2009 17:35:35 -0000 Author: rdivacky Date: Thu Oct 15 17:35:34 2009 New Revision: 198145 URL: http://svn.freebsd.org/changeset/base/198145 Log: Reconfigure. I am not sure if this is complete. Modified: projects/clangbsd/usr.bin/clang/include/llvm/Config/AsmPrinters.def projects/clangbsd/usr.bin/clang/include/llvm/Config/Targets.def projects/clangbsd/usr.bin/clang/include/llvm/Config/config.h projects/clangbsd/usr.bin/clang/include/llvm/Support/DataTypes.h Modified: projects/clangbsd/usr.bin/clang/include/llvm/Config/AsmPrinters.def ============================================================================== --- projects/clangbsd/usr.bin/clang/include/llvm/Config/AsmPrinters.def Thu Oct 15 17:08:50 2009 (r198144) +++ projects/clangbsd/usr.bin/clang/include/llvm/Config/AsmPrinters.def Thu Oct 15 17:35:34 2009 (r198145) @@ -1,9 +1,30 @@ /* $FreeBSD$ */ +//===- llvm/Config/AsmPrinters.def - LLVM Assembly Printers -----*- C++ -*-===// +// +// The LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// +// +// This file enumerates all of the assembly-language printers +// supported by this build of LLVM. Clients of this file should define +// the LLVM_ASM_PRINTER macro to be a function-like macro with a +// single parameter (the name of the target whose assembly can be +// generated); including this file will then enumerate all of the +// targets with assembly printers. +// +// The set of targets supported by LLVM is generated at configuration +// time, at which point this header is generated. Do not modify this +// header directly. +// +//===----------------------------------------------------------------------===// -LLVM_ASM_PRINTER(ARM) -LLVM_ASM_PRINTER(IA64) -LLVM_ASM_PRINTER(Mips) -LLVM_ASM_PRINTER(PowerPC) -LLVM_ASM_PRINTER(X86) +#ifndef LLVM_ASM_PRINTER +# error Please define the macro LLVM_ASM_PRINTER(TargetName) +#endif + +LLVM_ASM_PRINTER(Blackfin) LLVM_ASM_PRINTER(SystemZ) LLVM_ASM_PRINTER(MSP430) LLVM_ASM_PRINTER(XCore) LLVM_ASM_PRINTER(PIC16) LLVM_ASM_PRINTER(CellSPU) LLVM_ASM_PRINTER(Mips) LLVM_ASM_PRINTER(ARM) LLVM_ASM_PRINTER(Alpha) LLVM_ASM_PRINTER(PowerPC) LLVM_ASM_PRINTER(Sparc) LLVM_ASM_PRINTER(X86) #undef LLVM_ASM_PRINTER Modified: projects/clangbsd/usr.bin/clang/include/llvm/Config/Targets.def ============================================================================== --- projects/clangbsd/usr.bin/clang/include/llvm/Config/Targets.def Thu Oct 15 17:08:50 2009 (r198144) +++ projects/clangbsd/usr.bin/clang/include/llvm/Config/Targets.def Thu Oct 15 17:35:34 2009 (r198145) @@ -1,9 +1,29 @@ /* $FreeBSD$ */ +/*===- llvm/Config/Targets.def - LLVM Target Architectures ------*- C++ -*-===*\ +|* *| +|* The LLVM Compiler Infrastructure *| +|* *| +|* This file is distributed under the University of Illinois Open Source *| +|* License. See LICENSE.TXT for details. *| +|* *| +|*===----------------------------------------------------------------------===*| +|* *| +|* This file enumerates all of the target architectures supported by *| +|* this build of LLVM. Clients of this file should define the *| +|* LLVM_TARGET macro to be a function-like macro with a single *| +|* parameter (the name of the target); including this file will then *| +|* enumerate all of the targets. *| +|* *| +|* The set of targets supported by LLVM is generated at configuration *| +|* time, at which point this header is generated. Do not modify this *| +|* header directly. *| +|* *| +\*===----------------------------------------------------------------------===*/ -LLVM_TARGET(ARM) -LLVM_TARGET(IA64) -LLVM_TARGET(Mips) -LLVM_TARGET(PowerPC) -LLVM_TARGET(X86) +#ifndef LLVM_TARGET +# error Please define the macro LLVM_TARGET(TargetName) +#endif + +LLVM_TARGET(CppBackend) LLVM_TARGET(MSIL) LLVM_TARGET(CBackend) LLVM_TARGET(Blackfin) LLVM_TARGET(SystemZ) LLVM_TARGET(MSP430) LLVM_TARGET(XCore) LLVM_TARGET(PIC16) LLVM_TARGET(CellSPU) LLVM_TARGET(Mips) LLVM_TARGET(ARM) LLVM_TARGET(Alpha) LLVM_TARGET(PowerPC) LLVM_TARGET(Sparc) LLVM_TARGET(X86) #undef LLVM_TARGET Modified: projects/clangbsd/usr.bin/clang/include/llvm/Config/config.h ============================================================================== --- projects/clangbsd/usr.bin/clang/include/llvm/Config/config.h Thu Oct 15 17:08:50 2009 (r198144) +++ projects/clangbsd/usr.bin/clang/include/llvm/Config/config.h Thu Oct 15 17:35:34 2009 (r198145) @@ -62,6 +62,9 @@ /* Define to 1 if you have the `ceilf' function. */ #define HAVE_CEILF 1 +/* Define if the neat program is available */ +/* #undef HAVE_CIRCO */ + /* Define to 1 if you have the `closedir' function. */ #define HAVE_CLOSEDIR 1 @@ -111,6 +114,9 @@ /* Define to 1 if you have the header file. */ #define HAVE_FCNTL_H 1 +/* Define if the neat program is available */ +/* #undef HAVE_FDP */ + /* Define if libffi is available on this platform. */ /* #undef HAVE_FFI_CALL */ @@ -180,9 +186,6 @@ /* Define if you have the libdl library or equivalent. */ #define HAVE_LIBDL 1 -/* Define to 1 if you have the `elf' library (-lelf). */ -#define HAVE_LIBELF 1 - /* Define to 1 if you have the `imagehlp' library (-limagehlp). */ /* #undef HAVE_LIBIMAGEHLP */ @@ -269,6 +272,9 @@ /* Define to 1 if you have the `nearbyintf' function. */ #define HAVE_NEARBYINTF 1 +/* Define if the neat program is available */ +/* #undef HAVE_NEATO */ + /* Define to 1 if you have the `opendir' function. */ #define HAVE_OPENDIR 1 @@ -281,6 +287,9 @@ /* Define to have the %a format string */ #define HAVE_PRINTF_A 1 +/* Have pthread_getspecific */ +#define HAVE_PTHREAD_GETSPECIFIC 1 + /* Define to 1 if you have the header file. */ #define HAVE_PTHREAD_H 1 @@ -314,6 +323,9 @@ /* Define to 1 if you have the `sbrk' function. */ #define HAVE_SBRK 1 +/* Define to 1 if you have the `setenv' function. */ +#define HAVE_SETENV 1 + /* Define to 1 if you have the `setjmp' function. */ #define HAVE_SETJMP 1 @@ -368,6 +380,9 @@ /* Define to 1 if you have the `strerror_r' function. */ #define HAVE_STRERROR_R 1 +/* Define to 1 if you have the `strerror_s' function. */ +/* #undef HAVE_STRERROR_S */ + /* Define to 1 if you have the header file. */ #define HAVE_STRINGS_H 1 @@ -427,6 +442,9 @@ /* Define to 1 if you have the header file. */ #define HAVE_TERMIOS_H 1 +/* Define if the neat program is available */ +/* #undef HAVE_TWOPI */ + /* Define to 1 if the system has the type `uint64_t'. */ #define HAVE_UINT64_T 1 @@ -445,8 +463,41 @@ /* Define to 1 if you have the `__dso_handle' function. */ #define HAVE___DSO_HANDLE 1 +/* Installation directory for binary executables */ +#define LLVM_BINDIR "/usr/local/bin" + +/* Time at which LLVM was configured */ +#define LLVM_CONFIGTIME "Thu Oct 15 19:21:29 CEST 2009" + +/* Installation directory for data files */ +#define LLVM_DATADIR "/usr/local/share/llvm" + +/* Installation directory for documentation */ +#define LLVM_DOCSDIR "/usr/local/docs/llvm" + +/* Installation directory for config files */ +#define LLVM_ETCDIR "/usr/local/etc/llvm" + +/* Host triple we were built on */ +#define LLVM_HOSTTRIPLE "x86_64-unknown-freebsd7.2" + +/* Installation directory for include files */ +#define LLVM_INCLUDEDIR "/usr/local/include" + +/* Installation directory for .info files */ +#define LLVM_INFODIR "/usr/local/info" + +/* Installation directory for libraries */ +#define LLVM_LIBDIR "/usr/local/lib" + +/* Installation directory for man pages */ +#define LLVM_MANDIR "/usr/local/man" + /* Build multithreading support into LLVM */ -/* #undef LLVM_MULTITHREADED */ +#define LLVM_MULTITHREADED 1 + +/* LLVM architecture name for the native architecture, if available */ +#define LLVM_NATIVE_ARCH X86Target /* Define if this is Unixish platform */ #define LLVM_ON_UNIX 1 @@ -454,18 +505,33 @@ /* Define if this is Win32ish platform */ /* #undef LLVM_ON_WIN32 */ +/* Define to path to circo program if found or 'echo circo' otherwise */ +/* #undef LLVM_PATH_CIRCO */ + /* Define to path to dot program if found or 'echo dot' otherwise */ /* #undef LLVM_PATH_DOT */ /* Define to path to dotty program if found or 'echo dotty' otherwise */ /* #undef LLVM_PATH_DOTTY */ +/* Define to path to fdp program if found or 'echo fdp' otherwise */ +/* #undef LLVM_PATH_FDP */ + /* Define to path to Graphviz program if found or 'echo Graphviz' otherwise */ /* #undef LLVM_PATH_GRAPHVIZ */ /* Define to path to gv program if found or 'echo gv' otherwise */ /* #undef LLVM_PATH_GV */ +/* Define to path to neato program if found or 'echo neato' otherwise */ +/* #undef LLVM_PATH_NEATO */ + +/* Define to path to twopi program if found or 'echo twopi' otherwise */ +/* #undef LLVM_PATH_TWOPI */ + +/* Installation prefix directory */ +#define LLVM_PREFIX "/usr/local" + /* Define if the OS needs help to load dependent libraries for dlopen(). */ #define LTDL_DLOPEN_DEPLIBS 1 @@ -497,13 +563,13 @@ #define PACKAGE_NAME "llvm" /* Define to the full name and version of this package. */ -#define PACKAGE_STRING "llvm 2.6svn" +#define PACKAGE_STRING "llvm 2.7svn" /* Define to the one symbol short name of this package. */ #define PACKAGE_TARNAME "-llvm-" /* Define to the version of this package. */ -#define PACKAGE_VERSION "2.6svn" +#define PACKAGE_VERSION "2.7svn" /* Define as the return type of signal handlers (`int' or `void'). */ #define RETSIGTYPE void @@ -528,6 +594,9 @@ /* Define to 1 if your declares `struct tm'. */ /* #undef TM_IN_SYS_TIME */ +/* Define if we have the oprofile JIT-support library */ +#define USE_OPROFILE 0 + /* Define if use udis86 library */ #define USE_UDIS86 0 Modified: projects/clangbsd/usr.bin/clang/include/llvm/Support/DataTypes.h ============================================================================== --- projects/clangbsd/usr.bin/clang/include/llvm/Support/DataTypes.h Thu Oct 15 17:08:50 2009 (r198144) +++ projects/clangbsd/usr.bin/clang/include/llvm/Support/DataTypes.h Thu Oct 15 17:35:34 2009 (r198145) @@ -1,24 +1,27 @@ +/* $FreeBSD$ */ /* include/llvm/Support/DataTypes.h. Generated from DataTypes.h.in by configure. */ -//===-- include/Support/DataTypes.h - Define fixed size types ---*- C++ -*-===// -// -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// -// -// This file contains definitions to figure out the size of _HOST_ data types. -// This file is important because different host OS's define different macros, -// which makes portability tough. This file exports the following definitions: -// -// [u]int(32|64)_t : typedefs for signed and unsigned 32/64 bit system types -// [U]INT(8|16|32|64)_(MIN|MAX) : Constants for the min and max values. -// -// No library is required when using these functinons. -// -// $FreeBSD$ -//===----------------------------------------------------------------------===// +/*===-- include/Support/DataTypes.h - Define fixed size types -----*- C -*-===*\ +|* *| +|* The LLVM Compiler Infrastructure *| +|* *| +|* This file is distributed under the University of Illinois Open Source *| +|* License. See LICENSE.TXT for details. *| +|* *| +|*===----------------------------------------------------------------------===*| +|* *| +|* This file contains definitions to figure out the size of _HOST_ data types.*| +|* This file is important because different host OS's define different macros,*| +|* which makes portability tough. This file exports the following *| +|* definitions: *| +|* *| +|* [u]int(32|64)_t : typedefs for signed and unsigned 32/64 bit system types*| +|* [U]INT(8|16|32|64)_(MIN|MAX) : Constants for the min and max values. *| +|* *| +|* No library is required when using these functinons. *| +|* *| +|*===----------------------------------------------------------------------===*/ + +/* Please leave this file C-compatible. */ #ifndef SUPPORT_DATATYPES_H #define SUPPORT_DATATYPES_H @@ -29,12 +32,18 @@ #define HAVE_UINT64_T 1 /* #undef HAVE_U_INT64_T */ +#ifdef __cplusplus +#include +#else +#include +#endif + #ifndef _MSC_VER -// Note that this header's correct operation depends on __STDC_LIMIT_MACROS -// being defined. We would define it here, but in order to prevent Bad Things -// happening when system headers or C++ STL headers include stdint.h before -// we define it here, we define it on the g++ command line (in Makefile.rules). +/* Note that this header's correct operation depends on __STDC_LIMIT_MACROS + being defined. We would define it here, but in order to prevent Bad Things + happening when system headers or C++ STL headers include stdint.h before we + define it here, we define it on the g++ command line (in Makefile.rules). */ #if !defined(__STDC_LIMIT_MACROS) # error "Must #define __STDC_LIMIT_MACROS before #including Support/DataTypes.h" #endif @@ -44,7 +53,7 @@ "#including Support/DataTypes.h" #endif -// Note that includes , if this is a C99 system. +/* Note that includes , if this is a C99 system. */ #ifdef HAVE_SYS_TYPES_H #include #endif @@ -57,17 +66,11 @@ #include #endif -#ifdef __cplusplus -#include -#else -#include -#endif - #ifdef _AIX #include "llvm/Support/AIXDataTypesFix.h" #endif -// Handle incorrect definition of uint64_t as u_int64_t +/* Handle incorrect definition of uint64_t as u_int64_t */ #ifndef HAVE_UINT64_T #ifdef HAVE_U_INT64_T typedef u_int64_t uint64_t; @@ -89,8 +92,8 @@ typedef u_int64_t uint64_t; #endif #else /* _MSC_VER */ -// Visual C++ doesn't provide standard integer headers, but it does provide -// built-in data types. +/* Visual C++ doesn't provide standard integer headers, but it does provide + built-in data types. */ #include #include #include