Commit Graph

358 Commits

Author SHA1 Message Date
Reid Spencer e18131afd4 cvs -> svn
llvm-svn: 38443
2007-07-09 08:09:21 +00:00
Anton Korobeynikov 510dfdaa0d Revert last change until issue reported by Owen, won't be fixed.
llvm-svn: 37854
2007-07-03 17:16:46 +00:00
Anton Korobeynikov 76f70dc838 Rename llvm-test => test-suite. By Dave Greene.
llvm-svn: 37852
2007-07-03 17:01:58 +00:00
John Criswell 2660cef6d7 Convert .cvsignore files
llvm-svn: 37801
2007-06-29 16:35:07 +00:00
David Greene cbc8ddf81a Add support for building with _GLIBCXX_DEBUG. New configure option
--enable-expensive-checks allows the developer to enable runtime
checking that can greatly increase compile time.  Currently it only
turns on _GLIBCXX_DEBUG.  Other expensive debugging checks added later
should be controlled by this configure option.

This patch also updates llvm-config with a --cppflags option to inform
llvm-gcc how to build itself so that it is compatible with an llvm that
was built with _GLIBCXX_DEBUG.

llvm-svn: 37777
2007-06-28 19:36:08 +00:00
Reid Spencer ce90cbb5e1 Make Perl a required dependency and cause configure script to fail if it
is not found.

llvm-svn: 37164
2007-05-17 18:06:19 +00:00
Tanya Lattner dbe7487618 Bump version number in cvs
llvm-svn: 36920
2007-05-08 04:22:59 +00:00
Reid Spencer 3a67710034 Add support for determining which languages the llvm-gcc front end
supports.

llvm-svn: 36319
2007-04-21 21:28:12 +00:00
Reid Spencer 5f6ee131b1 Hack the shared library extension for dylib. The existing code just looks
plain wrong since $module was never defined so we always get .so which is
broken on Darwin. Just force it to .dylib.

llvm-svn: 35873
2007-04-11 00:33:43 +00:00
Reid Spencer 18c121d55d Check for .svn directories too to determine if a debug build is appropriate.
llvm-svn: 35595
2007-04-02 15:40:39 +00:00
Reid Spencer 1a48abc2d4 For PR1283:
Change the llvm-gcc sanity check to look for "target datalayout" instead
of "implementation". The implementation keyword is no longer generated
by llvm or llvm-gcc.

llvm-svn: 35451
2007-03-29 15:37:57 +00:00
Anton Korobeynikov aa3090d815 Let the new backend begin!
llvm-svn: 35242
2007-03-21 21:38:25 +00:00
Anton Korobeynikov d01defedf6 Add possibility to set memory limit for binaries run via libSystem. This
is especially needed for bugpoint. This partly implements PR688

llvm-svn: 34349
2007-02-16 19:11:07 +00:00
Reid Spencer 75062bcd80 Fix the TARGET_HAS_JIT settings. Sparc doesn't, x86_64 does, ARM doesn't.
llvm-svn: 33421
2007-01-21 06:41:11 +00:00
Reid Spencer f7defa1c5f Add support for the ARM target in the target configuration processing.
llvm-svn: 33418
2007-01-21 06:31:55 +00:00
Reid Spencer 78adb9d16f For PR808:
Add support for NetBSD.

llvm-svn: 33405
2007-01-20 20:43:35 +00:00
Anton Korobeynikov 4480ec3513 Cleanup
llvm-svn: 33391
2007-01-20 07:40:26 +00:00
Anton Korobeynikov 3e956974b3 Adding disassembler interface and external hook to udis86 library.
llvm-svn: 33358
2007-01-19 17:25:17 +00:00
Reid Spencer b4e0f9b52e For PR1074:
Adjust configuration for Stacker's new name: llvm-stacker.

llvm-svn: 33277
2007-01-17 02:14:46 +00:00
Jeff Cohen c5e5b27573 '==' is not a legal test operator on BSD. Use '='.
llvm-svn: 33126
2007-01-12 18:22:38 +00:00
Reid Spencer bf671f17cb Fix a configure warning noticed by Duncan Sands.
llvm-svn: 32844
2007-01-03 20:59:52 +00:00
Reid Spencer b68935a947 Add a new variable, LLVMGCCLIBEXEC to get the libexec directory where the
cc1 and cc1plus executables live.

llvm-svn: 32738
2006-12-21 22:55:41 +00:00
Reid Spencer 05a1fe5bf5 Allow an --enable-pic option to turn on -fPIC compiler option when building.
The default is disabled until we know this doesn't break anyone.

llvm-svn: 32635
2006-12-16 22:07:52 +00:00
Anton Korobeynikov 3b7c257cae Cleaned setjmp/longjmp lowering interfaces. Now we're producing right
code (both asm & cbe) for Mingw32 target.
Removed autoconf checks for underscored versions of setjmp/longjmp.

llvm-svn: 32415
2006-12-10 23:12:42 +00:00
Chris Lattner 060750b731 this warning is obsolete with llvmgcc3 being gone
llvm-svn: 32349
2006-12-08 05:03:54 +00:00
Reid Spencer 2ffc3d25d0 Expose the sanity.
llvm-svn: 32193
2006-12-04 20:28:07 +00:00
Reid Spencer d43999259b For PR1019:
Add HAVE_PTHREAD to makefiles with support from configure and use it to
determine whether to build examples/ParallelJIT.
Patch by Anton Korobeynikov.

llvm-svn: 32054
2006-12-01 00:37:14 +00:00
Reid Spencer 4b8067f37b Undo removal of the runtime libraries. While this may have been a bit
premature, these libraries will be going away for the 2.0 release. Other
arrangements for profiling, gc, etc. should be made in the next few months.

llvm-svn: 31807
2006-11-17 03:32:33 +00:00
Reid Spencer 3f97d03f86 In LLVM 2.0 we won't use the runtime libraries as llvm-gcc3 support will
be dropped. This patch pertains to removing the runtime directory from LLVM.

llvm-svn: 31793
2006-11-16 23:17:27 +00:00
Tanya Lattner 2bf78ba87d Bumping version number
llvm-svn: 31491
2006-11-07 05:31:00 +00:00
Reid Spencer d549edc2cc Add a -disable-cbe-printf-a option so that the output of the C Backend
stands a chance of being compiled with a non C99 C compiler. The default
is enabled so you must specifically disable this feature if you want the
CBE output compiled with an older C compiler.

llvm-svn: 31461
2006-11-05 17:08:18 +00:00
Reid Spencer 7b7ab9c59a Make the huge_val test run a C++ program not C
llvm-svn: 31422
2006-11-03 19:49:16 +00:00
Reid Spencer 128ae10611 Add a check to see if HUGE_VAL is sane or not.
llvm-svn: 31416
2006-11-03 18:04:08 +00:00
Chris Lattner 7a7081f3d0 Fix misleading warning message
llvm-svn: 30689
2006-10-02 17:23:42 +00:00
Reid Spencer d28c7c87d7 Add a HAVE_MACH_MACH_H #define to detect the presence of the mach/mach.h
header file on Darwin.

llvm-svn: 30319
2006-09-14 06:17:21 +00:00
Reid Spencer 917cf12928 For PR738:
Demote check for bison from error to warning and make sure that the
makefile can handle an empty definition for BISON variable.

llvm-svn: 29861
2006-08-24 22:41:20 +00:00
Reid Spencer e9a405685d Add irix as a (potential) new platform so that Timothy Baldridge can
(hopefully) provide support for it.

llvm-svn: 29833
2006-08-22 22:21:38 +00:00
Reid Spencer 1277ba22b8 Add llvm.spec to the list of files to be configured.
Remove the search for etags. Nothing in LLVM uses it any more.

llvm-svn: 29718
2006-08-16 00:45:38 +00:00
Reid Spencer 5f55c21d80 For PR876:
Fix problem setting the USE_{program} variable. It should be set to a
Makefile variable definition line, not just "1". Problem noted by
Kenneth Hoste.

llvm-svn: 29682
2006-08-14 23:19:57 +00:00
Reid Spencer df2e100063 For PR876:
Fix problem noticed by Kenneth Hoste. The wrong name for a variable was
being set and subsequently uses of the correct name were empty.

llvm-svn: 29681
2006-08-14 23:15:03 +00:00
Evan Cheng 545aaa6bb9 Recover the lost diff between 1.5 and 1.6.
llvm-svn: 29577
2006-08-09 05:38:51 +00:00
Reid Spencer 0b52e2f433 Update the auto* tools: autoconf 2.60, libtool 1.5.22, automake 1.9.6.
Update ltld.[ch] to version 1.5.22.
Correct the notes about updating these tools (autoconf/README.TXT)
Add configure options for getting the correct option for including a whole
archive when linking.

llvm-svn: 29529
2006-08-04 18:18:08 +00:00
Reid Spencer 84749edc34 Fix the --with-extra-options to use the correct variable.
llvm-svn: 29403
2006-07-28 22:50:07 +00:00
Reid Spencer 9372247ed5 For PR848:
1. Get the path to the pwd binary (/bin/pwd usually) from configure.
2. Use that path to run pwd in all path variables set in Makefile.config.in
The hope is that these changes will resolve symlinks to physical paths. This
should work on all platforms where the binary pwd defaults to printing
physical paths. The shell version of pwd generally doesn't (it will print
the symlink path).

llvm-svn: 29381
2006-07-28 05:05:00 +00:00
Reid Spencer eca6f7320e Changes to support cross-compiling LLVM. The GenLibDeps.pl script needs to
have a compile-host version of "nm", not build-host. In order to effect this
we must use autoconf to determine the correct "nm" to use and propagate that
through the makefiles, through llvm-config and finally to GenLibDeps.pl as
an optional argument.
Patch contributed by Anton Korobeynikov. Thanks!

llvm-svn: 29368
2006-07-27 23:00:30 +00:00
Chris Lattner 91fe1b4937 Bump version #
llvm-svn: 29327
2006-07-27 04:58:33 +00:00
Reid Spencer 0aa9d00ba0 For PR814:
Provide support for making cross-compiling builds. See the PR for details.
Patch provided by Anton Korobeynikov. Thanks, Anton!

llvm-svn: 29309
2006-07-26 21:14:56 +00:00
Reid Spencer 1d0ebb9eb7 Remove an extraneous use of ${ac_exeext}. Patch by Anton Korobeynikov.
llvm-svn: 29306
2006-07-26 21:08:09 +00:00
Reid Spencer 3197274203 For PR814:
Add a macro for getting the build host extension for executable. Patch
contributed by Anton Korobeynikov. Thanks!

llvm-svn: 29304
2006-07-26 20:45:12 +00:00
Evan Cheng 5df72aa84e Fixed a typo.
llvm-svn: 29010
2006-07-06 07:46:33 +00:00