Gabor Greif
6cd12a9f7f
re-apply r80197, now that iterator.h is not mentioned any more
...
llvm-svn: 80254
2009-08-27 17:07:35 +00:00
Bill Wendling
5f74a3e3b9
--- Reverse-merging r80147 into '.':
...
A include/llvm/ADT/iterator.cmake
U autoconf/configure.ac
--- Reverse-merging r80161 into '.':
U cmake/config-ix.cmake
--- Reverse-merging r80171 into '.':
U Makefile
--- Reverse-merging r80173 into '.':
U configure
U include/llvm/Config/config.h.in
--- Reverse-merging r80180 into '.':
A include/llvm/ADT/iterator.h.in
Despite common miscomceptions, iterator.h is alive and well. It broke the build
bots for several hours. And yet no one bothered to look at them.
Gabor and Doug, please review your changes and make sure that they actually
build before resubmitting them.
llvm-svn: 80197
2009-08-27 03:29:26 +00:00
Douglas Gregor
004f9203a7
Regenerate configure
...
llvm-svn: 80173
2009-08-26 22:59:05 +00:00
Gabor Greif
c243e77bde
revert r78628 and r78803 as these are not needed any more
...
llvm-svn: 80048
2009-08-25 23:02:21 +00:00
Daniel Dunbar
f965f98687
Remove alloca config.h support.
...
- I did not actually remove the configure test itself, someone who can
regenerate configure should do this (see FIXME in autoconf/configure.ac)
llvm-svn: 79881
2009-08-24 02:14:39 +00:00
Daniel Dunbar
729af19c70
Remove include/llvm/Config/alloca.h, it is dead.
...
llvm-svn: 79878
2009-08-24 02:02:49 +00:00
Gabor Greif
c81cd5ffca
here comes the CMAKE part on LLVM_COMPACT_SENTINELS; see also r78628 and r78661
...
llvm-svn: 78803
2009-08-12 08:37:37 +00:00
Shantonu Sen
9a3cc1a771
Regenerate per request of Gabor Greif (r78628)
...
llvm-svn: 78661
2009-08-11 13:39:52 +00:00
Douglas Gregor
ea200f4d3a
CMake configuration: find mkdtemp, mkstemp, mktemp.
...
llvm-svn: 77219
2009-07-27 18:23:41 +00:00
Daniel Dunbar
de011196a4
Sketch support for target specific assembly parser.
...
- Not fully enabled yet, need a configure regeneration.
llvm-svn: 76230
2009-07-17 20:42:00 +00:00
Xerxes Ranby
d90b36055d
Implement cmake LLVM_MULTITHREADED gcc atomic builtin checks.
...
llvm-svn: 76221
2009-07-17 19:22:41 +00:00
Dan Gohman
4ce1ac82f7
LLVM doesn't use libelf. Remove libelf configurey.
...
llvm-svn: 75643
2009-07-14 18:06:25 +00:00
Jeffrey Yasskin
4ada36ff60
Regenerate configure after r75279.
...
llvm-svn: 75280
2009-07-10 21:09:55 +00:00
David Greene
3612687754
Add support for other GraphViz display tools. This can help
...
with very large graphs, where dot isn't necessarily the
most visually pleasing way of looking at the graph.
llvm-svn: 75144
2009-07-09 17:06:18 +00:00
Jeffrey Yasskin
f8a1b98154
Have cmake define HAVE_STRERROR and friends to 1 when they're defined at all.
...
llvm-svn: 74791
2009-07-04 16:37:12 +00:00
Jeffrey Yasskin
0a952c6541
Update configure and config.h.in from r74621.
...
llvm-svn: 74623
2009-07-01 18:30:10 +00:00
Jeffrey Yasskin
29ea777c1e
Add a portable strerror*() wrapper, llvm::sys::StrError(). This includes the
...
Windows variant, strerror_s, but I couldn't test that.
I'll update configure and config.h.in in a subsequent patch.
llvm-svn: 74621
2009-07-01 18:11:20 +00:00
Douglas Gregor
bc78f97569
CMake: add configure checks for pthread_rwlock_init and pthread_getspecific
...
llvm-svn: 74284
2009-06-26 14:35:43 +00:00
Owen Anderson
59ffd85020
Add a configure test for pthread_getspecific, and use it when building ThreadLocal.
...
llvm-svn: 74222
2009-06-25 23:10:26 +00:00
Bob Wilson
7bd642b80c
Provide InitializeAllTargets and InitializeNativeTarget functions in the
...
C bindings. Change all the backend "Initialize" functions to have C linkage.
Change the "llvm/Config/Targets.def" header to use C-style comments to avoid
compile warnings.
llvm-svn: 74026
2009-06-23 23:59:40 +00:00
Douglas Gregor
674c7a4c20
Work around build problem with OpenJDK, which defines X86 as a
...
macro. Fixes PR 4427. Patch by Xerxes Rånby!
llvm-svn: 73961
2009-06-23 17:21:35 +00:00
Douglas Gregor
f3f924bfb6
Define LLVM_NATIVE_ARCH in CMake, so that lli can actually JIT
...
llvm-svn: 73616
2009-06-17 17:01:56 +00:00
Douglas Gregor
3e9d15410b
Update auto-generated configuration files
...
llvm-svn: 73591
2009-06-17 00:43:20 +00:00
Douglas Gregor
f5291553f2
Introduce new headers whose inclusion forces linking and
...
initialization of all targets (InitializeAllTargets.h) or assembler
printers (InitializeAllAsmPrinters.h). This is a step toward the
elimination of relinked object files, so that we can build normal
archives.
llvm-svn: 73543
2009-06-16 20:12:29 +00:00
Owen Anderson
8a07791070
Add a configure check for pthread_rwlock_init.
...
llvm-svn: 73523
2009-06-16 18:20:20 +00:00
Douglas Gregor
472479c173
More portability checks for CMake's config.h.
...
llvm-svn: 72975
2009-06-05 23:46:34 +00:00
Douglas Gregor
8de3150a4d
Properly detect malloc_zone_statistics in CMake build system
...
llvm-svn: 72873
2009-06-04 17:22:52 +00:00
Owen Anderson
315dc6b65f
Forgot this file in my last commit.
...
llvm-svn: 72141
2009-05-19 22:25:55 +00:00
Douglas Gregor
1ad25cdc99
termios.h contains the winsize structure we need to determine the
...
width of a terminal. Don't try to get the width of a terminal if we
don't have this header.
llvm-svn: 72018
2009-05-18 17:21:34 +00:00
Douglas Gregor
26745696ef
Add terminal width detection to llvm::sys::Process. This is needed to
...
fix Clang PRs 4148 and 4183.
llvm-svn: 71448
2009-05-11 18:05:52 +00:00
Oscar Fuentes
bf169af79a
CMake: Detects libpthread and sets HAVE_LIBPTHREAD.
...
llvm-svn: 71084
2009-05-06 14:40:37 +00:00
Oscar Fuentes
7a12578fb4
CMake: Added cmakedefine for HAVE_PTHREAD_H.
...
Patch by Robert Schuster!
llvm-svn: 71083
2009-05-06 14:27:59 +00:00
Nick Lewycky
2a36860ad9
Regenerate.
...
llvm-svn: 68938
2009-04-13 04:26:27 +00:00
Nick Lewycky
7af98773be
Regenerate.
...
llvm-svn: 66407
2009-03-09 06:16:46 +00:00
Nick Lewycky
dbd222fd42
Regenerate.
...
llvm-svn: 66157
2009-03-05 08:20:44 +00:00
Nick Lewycky
ada4032dc9
Regenerate.
...
llvm-svn: 65250
2009-02-21 22:38:49 +00:00
Cedric Venet
243a1d9a39
Add mode_t to the config.h generated by cmake on win32. Used by clang.
...
llvm-svn: 64555
2009-02-14 16:13:26 +00:00
Nick Lewycky
8664b2d9e1
Regenerate.
...
llvm-svn: 63724
2009-02-04 06:27:44 +00:00
Chris Lattner
c6c7875f01
Enable PACKAGE_VERSION in cmake builds, this unbreaks the clang build with cmake.
...
Patch by Piotr Rak!
llvm-svn: 63213
2009-01-28 17:49:03 +00:00
Tanya Lattner
11d2325f0a
Regenerated configure after backing out 62553 and r62616.
...
llvm-svn: 62778
2009-01-22 20:11:17 +00:00
Tanya Lattner
98382d83c1
Bump to 2.6svn.
...
Regenerate configure (last regen was with the wrong version).
llvm-svn: 62751
2009-01-22 05:17:59 +00:00
Dan Gohman
8271066844
Tidy up #includes, deleting a bunch of unnecessary #includes.
...
llvm-svn: 61715
2009-01-05 17:59:02 +00:00
Oscar Fuentes
d46a90dbdb
CMake: Remove HAVE_LT_DLOPEN from config.h.cmake because it was
...
removed from config.h.in.
llvm-svn: 59546
2008-11-18 21:12:01 +00:00
Oscar Fuentes
a96ce230e0
CMake: GetTargetTriple: new module for determining the target
...
triple. Assign to LLVM_HOSTTRIPLE so it figures in config.h.
llvm-svn: 58176
2008-10-26 00:47:52 +00:00
Oscar Fuentes
edaf4cded2
CMake: MSVC++ no longer uses a special configuration method.
...
llvm-svn: 58132
2008-10-25 03:29:36 +00:00
Oscar Fuentes
0f25988689
Initial support for the CMake build system.
...
llvm-svn: 56419
2008-09-22 01:08:49 +00:00
Anton Korobeynikov
bd6711c1c9
Use C-style comments :)
...
llvm-svn: 48705
2008-03-23 13:44:17 +00:00
Devang Patel
8190e4fbe0
Remove use of ltdl
...
llvm-svn: 47065
2008-02-13 17:11:39 +00:00
Chris Lattner
e0b1ee937a
Don't attribute in file headers anymore. See llvmdev for the
...
discussion of this change. Boy are my fingers tired. ;-)
llvm-svn: 45411
2007-12-29 19:59:42 +00:00
Duncan Sands
47526c4a42
Remove host endianness info from TargetData and
...
put it in a new header System/Host.h instead.
Instead of getting the endianness from configure,
calculate it directly.
llvm-svn: 44959
2007-12-12 23:03:45 +00:00