Evan Cheng
8c886a40d2
Combine all MC initialization routines into one. e.g. InitializeX86MCAsmInfo,
...
InitializeX86MCInstrInfo, etc. are combined into InitializeX86TargetMC.
llvm-svn: 135812
2011-07-22 21:58:54 +00:00
Bruno Cardoso Lopes
d1d9c78650
Added the infrastructute necessary for MIPS JIT support. Patch by Vladimir
...
Stefanovic. I removed the part that actually emits the instructions cause
I want that to get in better shape first and in incremental steps. This
also makes it easier to review the upcoming parts.
llvm-svn: 135678
2011-07-21 16:28:51 +00:00
Eric Christopher
65080cc55c
Regenerate configure and friends for Chad.
...
llvm-svn: 135592
2011-07-20 17:04:49 +00:00
Evan Cheng
2129f59637
Introduce MCCodeGenInfo, which keeps information that can affect codegen
...
(including compilation, assembly). Move relocation model Reloc::Model from
TargetMachine to MCCodeGenInfo so it's accessible even without TargetMachine.
llvm-svn: 135468
2011-07-19 06:37:02 +00:00
Evan Cheng
1705ab00ab
Rename createAsmInfo to createMCAsmInfo and move registration code to MCTargetDesc to prepare for next round of changes.
...
llvm-svn: 135219
2011-07-14 23:50:31 +00:00
Douglas Gregor
de3c92674e
Add initial *-*-rtems* target, from Joel Sherrill
...
llvm-svn: 134282
2011-07-01 22:41:06 +00:00
Daniel Dunbar
3b95df8d08
Regenerate configure.
...
llvm-svn: 133207
2011-06-16 22:30:41 +00:00
Benjamin Kramer
820a947fe1
Happy new year.
...
Only 163 days late!
llvm-svn: 132895
2011-06-12 15:26:54 +00:00
Duncan Sands
f0f143e31d
The dragonegg option to disable LLVM optimizations changed.
...
llvm-svn: 131903
2011-05-23 16:50:29 +00:00
Peter Collingbourne
5ac59df9fb
Re-add the autoconf rule for the docs/doxygen.cfg file.
...
For some reason this was not reverted when r103213 was.
At the same time, add an optional rule for clang's doxygen.cfg.
llvm-svn: 131279
2011-05-13 03:27:56 +00:00
NAKAMURA Takumi
4471f82e91
Windows/DynamicLibrary.inc: Clean up ELM_Callback. We may check the decl instead of the versions of individual libraries.
...
autoconf: Add checking ELM_Callback decl for mingw32 and mingw-w64.
cmake/config-ix.cmake: Add checking ELM_Callback decl for win32.
llvm-svn: 130657
2011-05-01 13:29:49 +00:00
Chris Lattner
0ab5e2cded
Fix a ton of comment typos found by codespell. Patch by
...
Luis Felipe Strano Moraes!
llvm-svn: 129558
2011-04-15 05:18:47 +00:00
Jan Sjödin
c9a16d581d
Check that the AsmParser exists for the native target to enable initialization
...
function.
llvm-svn: 127626
2011-03-14 22:12:35 +00:00
Jan Sjödin
27e07c32c6
Add InitializeNativeAsmParser function.
...
llvm-svn: 127341
2011-03-09 17:25:46 +00:00
Bill Wendling
1d5532a0d5
Change the next release number to 3.0svn.
...
llvm-svn: 127213
2011-03-08 03:00:02 +00:00
NAKAMURA Takumi
189111808e
lib/Support/Errno.cpp: Check strerror_s() with HAVE_DECL_STRERROR_S in config.h.*.
...
AC_CHECK_FUNCS seeks a symbol only in libs. We should check the declaration in string.h.
FIXME: I have never seen mingw(s) have strerror_s() (not _strerror_s()).
FIXME: Autoconf/CMake may seek strerror_s() with the definition MINGW_HAS_SECURE_API in future.
llvm-svn: 125172
2011-02-09 04:18:48 +00:00
NAKAMURA Takumi
03a541f5c4
Windows/DynamicLibrary.inc: Split explicit symbols into explicit_symbols.inc.
...
config.h.* have conditions whether each symbol is defined or not.
Autoconf and CMake may check symbols in libgcc.a for JIT on Mingw.
llvm-svn: 124950
2011-02-05 15:11:53 +00:00
Daniel Dunbar
7840c54601
Regenerate configure.
...
llvm-svn: 124770
2011-02-03 02:40:02 +00:00
NAKAMURA Takumi
495afdffd7
autoconf: Add --disable-embed-stdcxx to suppress linking libstdc++.a into llvm.dll with --enable-shared on Cygming.
...
Cygwin has stdc++.dll in it's distribution, and we can assume distro's stdc++.dll might be available.
llvm-svn: 122622
2010-12-29 03:59:14 +00:00
NAKAMURA Takumi
c6fce17b3e
autoconf: [PR7874] Add --disable-pthreads to suppress detecting pthreads on certain hosts.
...
This would be needed to build pthread*.dll-free distribution on recent MinGW-MSYS distros.
llvm-svn: 122621
2010-12-29 03:59:03 +00:00
Eric Christopher
775608995c
Use GZIPBIN instead of GZIP. Apparently gzip uses GZIP as an environment
...
variable for args you want to default pass to gzip.
Patch based on one by asau@inbox.ru .
Fixes PR8758.
llvm-svn: 121449
2010-12-10 01:31:51 +00:00
Eric Christopher
8d842da572
Regenerate this for Daniel.
...
llvm-svn: 121227
2010-12-08 02:02:14 +00:00
Eric Christopher
ba4f77262c
Two things: Fix testcase to use extern - otherwise the link will always
...
succeed. Also make the testcase clearer as to what we're doing and
emit a checking notification to the log.
llvm-svn: 121101
2010-12-07 02:05:42 +00:00
Eric Christopher
ca4667319a
Apparently OS X 10.4 doesn't have __crashreporter_info__.
...
Try to fix building on the wayback machine.
llvm-svn: 120801
2010-12-03 07:45:22 +00:00
Michael J. Spencer
447762da85
Merge System into Support.
...
llvm-svn: 120298
2010-11-29 18:16:10 +00:00
Duncan Sands
0787bc37c4
It seems inconsistent to have LLVMCC_EMITIR_FLAG and
...
LLVMGCC_DISABLEOPT_FLAGS, one with CC in it, the other
with GCC. Rename LLVMGCC_DISABLEOPT_FLAGS to
LLVMCC_DISABLEOPT_FLAGS.
llvm-svn: 120151
2010-11-25 17:57:43 +00:00
Duncan Sands
606d5c0424
Initial support for being able to specify the llvm-gcc to use like this:
...
--with-llvmgcc="gcc-4.5 -fplugin=dragonegg.so"
llvm-svn: 120149
2010-11-25 17:47:42 +00:00
Chris Lattner
287766075f
fix the autoconf script to detect "has asmprinter"ness of a target by
...
looking for lib/Target/*AsmPrinter.cpp. Fix llvm-config to handle targets
that don't have an explicit AsmPrinter library.
llvm-svn: 119057
2010-11-14 19:10:47 +00:00
Chris Lattner
9007c368c6
remove JIT support from the Alpha backend. The JIT will be moving to MC,
...
and the Alpha backend isn't MCized yet. Approved by Andrew.
llvm-svn: 119051
2010-11-14 18:24:41 +00:00
Rafael Espindola
7ac506d431
Add --enable-docs. Patch by NAKAMURA Takumi.
...
llvm-svn: 118918
2010-11-12 19:24:06 +00:00
Tobias Grosser
61cb245436
Detect if llvm-gcc is built on dragonegg.
...
Store the flags needed to disable optimizations and to emit LLVM-IR depending on
the version of llvm-gcc used.
llvm-svn: 118684
2010-11-10 16:31:34 +00:00
Tobias Grosser
ea9dca4c6c
Add polly support to the build system.
...
Update the cmake and autoconf build system to compile polly
as a shared library if it is checked out into tools/polly. In case
polly is not checked out, nothing changes.
This models the way clang can be added to llvm if checked out to tools/clang.
Also rebuild configure.
Patch contributed by ether.
llvm-svn: 117755
2010-10-30 00:54:26 +00:00
Chandler Carruth
ffae4a66fa
First step to allowing the resource directory of Clang to be adjusted for
...
strange packaging environments. The primary result of this is to expose
a (normally empty) CLANG_RESOURCE_DIR string in the autoconf and CMake builds.
This will in turn be used by a subsequent commit to Clang.
Regenerated configure and config.h.in thanks to Nick. =D
llvm-svn: 116802
2010-10-19 08:21:25 +00:00
Eric Christopher
ef917741e2
Fix the last two commits to configure - configure is a generated file.
...
Made necessary edits to configure.ac and regenerated.
llvm-svn: 116291
2010-10-12 02:42:05 +00:00
Chris Lattner
1ef5e84c31
Per discussion with Sanjiv, remove the PIC16 target from mainline. When/if
...
it comes back, it will be largely a rewrite, so keeping the old codebase
in tree isn't helping anyone.
llvm-svn: 116190
2010-10-11 05:44:40 +00:00
Jim Grosbach
0e854f3d43
Rename the AsmPrinter directory to InstPrinter for those targets that have
...
been MC-ized for assembly printing. MSP430 is mostly so, but still has the
asm printer and lowering code in the printer subdir for the moment.
llvm-svn: 115360
2010-10-01 22:39:28 +00:00
Dan Gohman
a0da88931c
Add support for viewing graphviz graphs with xdot.py.
...
llvm-svn: 114832
2010-09-27 16:28:34 +00:00
Dan Gohman
df25777f78
Regenerate.
...
llvm-svn: 114197
2010-09-17 20:08:35 +00:00
Nick Lewycky
1facc1db8f
Update configure for change to autoconf/configure.ac to add PTX backend.
...
llvm-svn: 113236
2010-09-07 18:14:42 +00:00
Eric Christopher
b33877b710
Regenerate.
...
llvm-svn: 113160
2010-09-06 18:47:10 +00:00
Eric Christopher
e7a9db16bb
Fix LLVM target initialization to deal with sociopathic outside projects
...
that like to randomly define things like "X86", regenerate autoconf bits
and update cmake.
Fixes PR7852.
Patch by Xerxes Rånby!
llvm-svn: 112499
2010-08-30 18:34:48 +00:00
Chris Lattner
bd24404718
remove the MSIL backend. It isn't maintained, is buggy, has no testcases
...
and hasn't kept up with ToT. Approved by Anton.
llvm-svn: 112375
2010-08-28 16:33:36 +00:00
Eric Christopher
6ca6ba20ba
Regenerate.
...
llvm-svn: 112042
2010-08-25 08:45:06 +00:00
Mikhail Glushenkov
6ba0ca7f40
Regenerate.
...
llvm-svn: 111095
2010-08-15 07:07:17 +00:00
Daniel Dunbar
b524afbae3
configure: Add detection of the linker version string.
...
- Review appreciated, as long as you understand that I understand that this is
a horrible hack.
llvm-svn: 110883
2010-08-11 23:53:59 +00:00
Eric Christopher
41983c6f1d
Regenerate.
...
llvm-svn: 110548
2010-08-08 09:20:39 +00:00
Eric Christopher
97014d8a8b
Regenerate.
...
llvm-svn: 110533
2010-08-08 02:44:25 +00:00
Dan Gohman
de75469cd8
Remove CVS artifacts.
...
llvm-svn: 110207
2010-08-04 16:25:01 +00:00
Daniel Dunbar
edf7b8bd4e
build: Add LLVM_NATIVE_ARCHNAME, which has the sensible value, without "Target"
...
appended.
llvm-svn: 110109
2010-08-03 14:26:17 +00:00
Eric Christopher
f7eb811d1a
Regenerate.
...
llvm-svn: 109647
2010-07-28 20:26:43 +00:00
Eric Christopher
e3befc7f4a
Regenerate.
...
llvm-svn: 109164
2010-07-22 21:13:48 +00:00
Owen Anderson
0235241eab
Regenerate.
...
llvm-svn: 108740
2010-07-19 19:42:01 +00:00
Owen Anderson
0e41b1c9c0
Regenerate.
...
llvm-svn: 108738
2010-07-19 19:24:55 +00:00
Eric Christopher
51f2908328
Pull in the libCrashReporterClient.a information with a warning comment.
...
Remove library check and regenerate configure.
llvm-svn: 107028
2010-06-28 18:25:51 +00:00
Eric Christopher
e9c1bb6cb1
Look for and use a different darwin crash reporter library.
...
llvm-svn: 106576
2010-06-22 21:01:04 +00:00
Dan Gohman
c699831d09
Fix a spello affecting platforms where the configure check fails.
...
llvm-svn: 105273
2010-06-01 16:22:27 +00:00
Dan Gohman
b7edb4287b
-retain-symbols-file is not what it seems. Update the makefiles
...
and configury to use --version-script.
llvm-svn: 105271
2010-06-01 14:56:56 +00:00
Daniel Dunbar
dac182450b
Add new configure option, --disable-timestamps, intended to turn off anything which would mess up binary/object comparisons. Currently:
...
- Disables 'Built on ...' in 'foo --version'.
- Disables timestamps from being embedded into .dir files.
llvm-svn: 103423
2010-05-10 20:11:56 +00:00
mike-m
e08af303a6
Overhauled llvm/clang docs builds. Closes PR6613.
...
NOTE: 2nd part changeset for cfe trunk to follow.
*** PRE-PATCH ISSUES ADDRESSED
- clang api docs fail build from objdir
- clang/llvm api docs collide in install PREFIX/
- clang/llvm main docs collide in install
- clang/llvm main docs have full of hard coded destination
assumptions and make use of absolute root in static html files;
namely CommandGuide tools hard codes a website destination
for cross references and some html cross references assume
website root paths
*** IMPROVEMENTS
- bumped Doxygen from 1.4.x -> 1.6.3
- splits llvm/clang docs into 'main' and 'api' (doxygen) build trees
- provide consistent, reliable doc builds for both main+api docs
- support buid vs. install vs. website intentions
- support objdir builds
- document targets with 'make help'
- correct clean and uninstall operations
- use recursive dir delete only where absolutely necessary
- added call function fn.RMRF which safeguards against botched 'rm -rf';
if any target (or any variable is evaluated) which attempts
to remove any dirs which match a hard-coded 'safelist', a verbose
error will be printed and make will error-stop.
llvm-svn: 103213
2010-05-06 23:45:43 +00:00
Daniel Dunbar
d411fcbc4c
Regenerate.
...
llvm-svn: 102720
2010-04-30 17:12:26 +00:00
Dan Gohman
a1c94049c2
Fix an autoconf bug: The second argument to AC_LANG_PROGRAM is code that
...
gets placed inside a main function, and should not itself be a main
function. This is silently hidden in GCC-hosted builds because the
inner main looks like a nested function declaration, which GCC supports.
In builds with compilers which do not support nested functions (by default),
this was causing an error, which caused these autoconf checks to fail,
leaving their options disabled.
This fixes test/Feature/load_module.ll on x86_64-unknown-linux-gnu
llvm-gcc selfhost builds, among other things.
This also includes a regenerated configure, as the diff is small and telling.
llvm-svn: 102288
2010-04-25 00:12:20 +00:00
Dan Gohman
fe051a525f
Regenerate configure script.
...
llvm-svn: 101561
2010-04-16 22:59:06 +00:00
Eric Christopher
dea3bda860
Add a check for posix_spawn.
...
Regenerate configure and other autoconf files.
llvm-svn: 101444
2010-04-16 05:14:21 +00:00
Daniel Dunbar
4e06a5b8b3
configure: Fix default value for optimize_option, I messed up the test condition
...
in r86005 and unintentionally changed the default from -O3 to -O2.
- It's odd the things automated perf testing turns up! :)
- Also, the configure diff is messed up slightly. It looks like someone either
didn't regenerate configure correctly (or I didn't), or autoconf has some
funnyness in it. Eric, any ideas?
This has been at -O2 for so long, that I am slightly nervous that this change
will uncover miscompiles of LLVM on other systems. If that is the case, I think
we should just set the default universally at -O3, and let developers/vendors
use -O3 if they want it and have tested it.
llvm-svn: 100941
2010-04-10 18:56:24 +00:00
Jeffrey Yasskin
96f8a4a82f
Touch configure so it regenerates Disassemblers.def to include ARM so
...
people stop seeing a broken build in EDDisassembler.cpp
llvm-svn: 100782
2010-04-08 17:19:20 +00:00
John Criswell
4e61b255e2
Fixed spurious warning problem noticed by Daniel Dunbar. The configure script
...
now configures prerequisite projects individually but also ignores them in the
big project switch statement to avoid the incorrect warning.
llvm-svn: 99506
2010-03-25 13:59:09 +00:00
John Criswell
f369e779a8
Force configuration of some projects before others. In particular, some
...
projects rely upon llvm-gcc, the LLVM test suite, and poolalloc. This ensures
that the aforementioned projects have their object trees created first so that
other projects can find their object trees when they themselves are configured.
llvm-svn: 98998
2010-03-19 21:31:39 +00:00
Tanya Lattner
da4a3ed75e
Regenerate configure.
...
llvm-svn: 98990
2010-03-19 21:22:13 +00:00
John Criswell
1734a2a550
Updated copyright year to 2010.
...
llvm-svn: 98985
2010-03-19 21:04:16 +00:00
Jeffrey Yasskin
3ddd88f523
Tell Valgrind when we modify already-executed machine code so it knows
...
to re-instrument the code. We depend on the system valgrind.h to
avoid adding a new license.
llvm-svn: 98529
2010-03-15 04:57:55 +00:00
Eric Christopher
b3762a05c5
Move the docsdir to /usr/share/doc/llvm to match other projects.
...
Fixes PR6267.
llvm-svn: 97549
2010-03-02 05:17:21 +00:00
Eric Christopher
f0ee6a1407
Make sure we save CXXFLAGS before setting it as pedantic and regenerate
...
configure.
Fixes PR6388.
Patch by Yann Droneaud!
llvm-svn: 97548
2010-03-02 05:06:54 +00:00
John Criswell
4d377d8c59
Added SAFECode (safecode) to the list of projects to automatically configure.
...
llvm-svn: 97179
2010-02-25 22:57:19 +00:00
Jeffrey Yasskin
6b718f73a5
Try r96559 for the third time. This time the shared library is only built if
...
--enable-shared is passed to configure.
llvm-svn: 97119
2010-02-25 06:34:33 +00:00
Jeffrey Yasskin
15983e57d6
Roll back r96959 again.
...
llvm-svn: 96981
2010-02-23 20:53:37 +00:00
Wesley Peck
e4801e49c9
Adding the MicroBlaze backend.
...
The MicroBlaze is a highly configurable 32-bit soft-microprocessor for
use on Xilinx FPGAs. For more information see:
http://www.xilinx.com/tools/microblaze.htm
http://en.wikipedia.org/wiki/MicroBlaze
The current LLVM MicroBlaze backend generates assembly which can be
compiled using the an appropriate binutils assembler.
llvm-svn: 96969
2010-02-23 19:15:24 +00:00
Jeffrey Yasskin
3ac46ccdff
Roll r96559 forward again, adding libLLVM-2.7svn.so to LLVM. This links 3 of
...
the examples shared to make sure the shared library keeps working.
llvm-svn: 96959
2010-02-23 18:10:07 +00:00
Daniel Dunbar
49b962cc26
Initial configure support for using Clang as the LLVM capable compiler.
...
Comes in two parts:
1. Use --with-clang=path/to/clang/compiler to select an installed clang, or
--with-built-clang to have the makefiles use the clang which will be built
as the LLVM capable compiler. If neither is given, --with-built-clang will
be used if the Clang sources are checked out into the standard location
(tools/clang).
2. Use --with-llvmcc={llvm-gcc,clang,none} to specify which LLVM capable
compiler to use. If not given, then llvm-gcc will be used if available,
otherwise Clang.
Makefile support still to come.
Eric, Doug, Chris, seem reasonable?
llvm-svn: 96934
2010-02-23 10:00:49 +00:00
Daniel Dunbar
52af870692
Kill off unused LLVMGCCLIBEXEC make variable.
...
llvm-svn: 96910
2010-02-23 07:56:34 +00:00
Daniel Dunbar
e67ebdc60a
Kill off LLVMGCCARCH and LLVMGCC_VERSION make variables.
...
llvm-svn: 96909
2010-02-23 07:56:31 +00:00
Daniel Dunbar
e7d4f92cfa
Kill off LLVMGCC_MAJVERS make variable.
...
llvm-svn: 96907
2010-02-23 07:56:22 +00:00
Jeffrey Yasskin
c451027db9
Roll back the shared library, r96559. It broke two darwins and arm, mysteriously.
...
llvm-svn: 96569
2010-02-18 04:43:02 +00:00
Jeffrey Yasskin
f750fefaf8
Add a shared library for LLVM, named libLLVM2.7svn.(so|dylib), and add an
...
--enable-shared configure flag to have the tools linked shared. (2.7svn is just
$(LLVMVersion) so it'll change to "2.7" in the release.) Always link the
example programs shared to test that the shared library keeps working.
On my mac laptop, Debug libLLVM2.7svn.dylib is 39MB, and opt (for example) is
16M static vs 440K shared.
Two things are less than ideal here:
1) The library doesn't include any version information. Since we expect to break
the ABI with every release, this shouldn't be much of a problem. If we do
release a compatible 2.7.1, we may be able to hack its library to work with
binaries compiled against 2.7.0, or we can just ask them to recompile. I'm
hoping to get a real packaging expert to look at this for the 2.8 release.
2) llvm-config doesn't yet have an option to print link options for the shared
library. I'll add this as a subsequent patch.
llvm-svn: 96559
2010-02-18 02:36:02 +00:00
Jeffrey Yasskin
914050bc5a
Make --disable-libffi work on systems with libffi installed. Also
...
make no-ffi the default even on systems with libffi. This fixes
http://llvm.org/PR5018 .
llvm-svn: 95712
2010-02-09 23:03:44 +00:00
Jeffrey Yasskin
bf5ce0a6c2
Reconfigure with autoconf-2.60, and fix autoconf.ac to work with that version.
...
llvm-svn: 95191
2010-02-03 02:11:49 +00:00
Torok Edwin
aec063332e
Regenerate configure.
...
With the previous cleanup to configure.ac, configure is now only 393k, instead of 1.1M!
llvm-svn: 94535
2010-01-26 08:50:50 +00:00
Anton Korobeynikov
6c1c205183
Regenerate
...
llvm-svn: 92763
2010-01-05 20:45:43 +00:00
Rafael Espindola
662908cdcf
Fix typos. Thanks to John Tytgat for noticing it!
...
llvm-svn: 90728
2009-12-07 00:27:35 +00:00
Daniel Dunbar
3202720933
Regenerate configure
...
llvm-svn: 89840
2009-11-25 04:37:28 +00:00
Rafael Espindola
65e9be6dc2
Add configure options for specifying where to look for libstdc++.
...
llvm-svn: 88943
2009-11-16 19:46:55 +00:00
Rafael Espindola
d95960be25
Add the --with-c-include-dirs to llvm's configure.
...
The clang patch is next.
llvm-svn: 86955
2009-11-12 05:46:09 +00:00
Daniel Dunbar
b4a289c88e
configure: Add --with-optimize-option, for setting the default value of
...
OPTIMIZE_OPTION.
llvm-svn: 86005
2009-11-04 04:32:50 +00:00
Julien Lerouge
b614dd3fcb
Regenerate.
...
llvm-svn: 85148
2009-10-26 20:00:35 +00:00
Chandler Carruth
56869f22c4
Move DataTypes.h to include/llvm/System, update all users. This breaks the last
...
direct inclusion edge from System to Support.
llvm-svn: 85086
2009-10-26 01:35:46 +00:00
Edward O'Callaghan
edea326896
Undo pthread patch from rev. 83930 & 83823. Credit to Paul Davey.
...
llvm-svn: 84083
2009-10-14 11:12:33 +00:00
Edward O'Callaghan
153d23f4cd
Provide AuroraUX triple support in configure. Credit to - Paul Davey.
...
llvm-svn: 84067
2009-10-14 00:44:50 +00:00
Edward O'Callaghan
a5314b83d1
Regenerate configure for rev. 83823 putback.
...
llvm-svn: 83930
2009-10-13 01:01:38 +00:00
Jeffrey Yasskin
2da7231034
Fix the OProfile part of PR5018. This fixes --without-oprofile, makes
...
it the default, and works around a broken libopagent on some Debian
systems.
llvm-svn: 83503
2009-10-07 23:22:42 +00:00
Nick Lewycky
9b3f71600a
Regenerate.
...
llvm-svn: 83052
2009-09-29 06:18:23 +00:00
Nick Lewycky
c5975fce2b
Roll back r83048.
...
llvm-svn: 83050
2009-09-29 05:48:51 +00:00
Nick Lewycky
a2b1ac2a93
Regenerate.
...
llvm-svn: 83048
2009-09-29 05:41:21 +00:00
Jeffrey Yasskin
c3273dca48
Enable -g with DEBUG_SYMBOLS and --enable-debug-symbols instead of
...
DEBUG_RUNTIME.
llvm-svn: 82906
2009-09-27 17:47:29 +00:00
Jeffrey Yasskin
14a5cc54e5
Fix a compile failure introduced by r82675 on MinGW which doesn't have
...
setenv(). This patch just disables the test rather than getting putenv() to
work. Thanks to Sandeep Patel for reporting the problem.
llvm-svn: 82797
2009-09-25 21:07:20 +00:00
Jeffrey Yasskin
42a49dfb02
PR4047: Permit configure --enable-targets=host,cpp for example. "host" has the
...
same effect that "host-only" used to have, but can be combined with other
targets. host-only is still available as a synonym but no longer documented.
llvm-svn: 82634
2009-09-23 17:05:42 +00:00
Eric Christopher
d8530f35f5
Enable the jit for llvm-config.
...
Patch by Xerxes Rånby!
llvm-svn: 81768
2009-09-14 16:38:49 +00:00
Torok Edwin
d70eebee51
install-sh chmods to 0755 by default, and this causes 'git diff' to show
...
that all the Makefiles changed mode.
Fix this by tellint install-sh to chmod
only to 0644, these are not executable files after all!
llvm-svn: 80371
2009-08-28 16:12:48 +00:00
Gabor Greif
962c374781
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
c7d230f736
--- 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
985c9f418a
Regenerate configure
...
llvm-svn: 80173
2009-08-26 22:59:05 +00:00
Tanya Lattner
c372077201
Regenerate configure.
...
llvm-svn: 79772
2009-08-22 21:01:26 +00:00
Tanya Lattner
b1e4babbb1
Regenerate configure for 2.7svn
...
llvm-svn: 79726
2009-08-22 04:37:30 +00:00
Anton Korobeynikov
284c9ae1b8
Regenerate
...
llvm-svn: 79297
2009-08-18 00:40:51 +00:00
Shantonu Sen
1f90bd277b
Regenerate per request of Gabor Greif (r78628)
...
llvm-svn: 78661
2009-08-11 13:39:52 +00:00
Jakob Stoklund Olesen
526e803f6a
Build Blackfin target with autoconf and cmake.
...
Note that configure was edited by hand. Will somebody with the correct version of autoconf please regenerate?
llvm-svn: 77898
2009-08-02 17:32:37 +00:00
Dan Gohman
17151155ed
Remove the IA-64 backend.
...
llvm-svn: 76920
2009-07-24 00:30:09 +00:00
Jeffrey Yasskin
563033bcb6
Regenerate configure for ddunbar.
...
llvm-svn: 76244
2009-07-17 21:33:35 +00:00
Anton Korobeynikov
c334c28b3b
Let's start another backend :)
...
llvm-svn: 75909
2009-07-16 13:27:25 +00:00
Dan Gohman
1d38788a00
LLVM doesn't use libelf. Remove libelf configurey.
...
llvm-svn: 75643
2009-07-14 18:06:25 +00:00
Jeffrey Yasskin
efbc3a52b6
Regenerate configure after r75279.
...
llvm-svn: 75280
2009-07-10 21:09:55 +00:00
David Greene
d93c40b669
Regenerate for GraphViz tool discovery.
...
llvm-svn: 75145
2009-07-09 17:16:26 +00:00
Mikhail Glushenkov
9297a52715
Regenerate.
...
llvm-svn: 74789
2009-07-04 14:23:08 +00:00
Jeffrey Yasskin
246676db7d
Update configure and config.h.in from r74621.
...
llvm-svn: 74623
2009-07-01 18:30:10 +00:00
Owen Anderson
1154983b9c
Add a configure test for pthread_getspecific, and use it when building ThreadLocal.
...
llvm-svn: 74222
2009-06-25 23:10:26 +00:00
Douglas Gregor
a1ae30140b
Regenerate configure script
...
llvm-svn: 73962
2009-06-23 17:22:05 +00:00
Douglas Gregor
43613a2b0a
Update auto-generated configuration files
...
llvm-svn: 73591
2009-06-17 00:43:20 +00:00
Owen Anderson
8d0fe6f0d7
Add an atomic increment and decrement implementation, which will be used for
...
thread-safe reference counting.
llvm-svn: 73587
2009-06-17 00:13:00 +00:00
Douglas Gregor
1b731d5dbe
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
a149e22c09
Add a configure check for pthread_rwlock_init.
...
llvm-svn: 73523
2009-06-16 18:20:20 +00:00
Nick Lewycky
8667990cdf
Regenerate.
...
llvm-svn: 72990
2009-06-06 06:25:09 +00:00
Owen Anderson
af5db8335b
Split the ENABLE_THREADS #define in two. Now ENABLE_THREADS indicates the ability to run multiple threads at once in the JIT, and requires only
...
mutex support. LLVM_MULTITHREADED indicates (or will indicate) the ability to run LLVM itself across multiple threads, and requires atomics support.
llvm-svn: 72140
2009-05-19 22:18:56 +00:00
Owen Anderson
b9509c55fe
Test for the presence of GCC atomic builtins at configure time. If not found,
...
disable building LLVM in thread-safe mode and print a nice warning.
Regenerate configure for these changes.
llvm-svn: 72075
2009-05-18 23:58:51 +00:00
Douglas Gregor
b81294d989
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
Duncan Sands
ef8c8ec457
Fix typo.
...
llvm-svn: 71656
2009-05-13 13:13:18 +00:00
Douglas Gregor
15436617f4
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
Anton Korobeynikov
9173b49435
Regenerate
...
llvm-svn: 70772
2009-05-03 13:42:23 +00:00
Mikhail Glushenkov
2c332fec97
Support --with-llvmgccdir and friends in llvmc, take 2.
...
Should now work when building with objdir != srcdir and when llvm-gcc is not
available.
Thanks to Duncan Sands for testing and advice!
llvm-svn: 69700
2009-04-21 19:46:10 +00:00
Bill Wendling
4d10aae8c2
Revert 69474 and 69475. They are causing failures during a bootstrap on Darwin.
...
llvm-svn: 69478
2009-04-18 21:45:27 +00:00
Mikhail Glushenkov
d497a8bae1
Reconfigure.
...
Turns out that doing this by hand is easier than using autoreconf:-).
llvm-svn: 69475
2009-04-18 20:55:55 +00:00
Nick Lewycky
13590cb204
Generalize to support more ARM types.
...
Configure was not actually regenerated, but the change last time only touched
this one line, so I'm being lazy and cheating by fixing it manually.
llvm-svn: 69453
2009-04-18 18:11:26 +00:00
Nick Lewycky
19fac3cf3c
Regenerate.
...
llvm-svn: 69447
2009-04-18 15:41:38 +00:00
Bill Wendling
02b47d9958
Temporarily revert r69438 and r69439. These were causing failures during a
...
release build of llvm.
llvm-svn: 69440
2009-04-18 11:20:33 +00:00
Mikhail Glushenkov
4308aa5272
Regenerate.
...
llvm-svn: 69439
2009-04-18 09:59:26 +00:00
David Greene
c0a34a0730
Regenerate configure.
...
llvm-svn: 69352
2009-04-17 14:50:39 +00:00
Nick Lewycky
11dc7c1a34
Regenerate.
...
llvm-svn: 68938
2009-04-13 04:26:27 +00:00
Nick Lewycky
ffb1fdf25b
Regenerate.
...
llvm-svn: 68767
2009-04-10 05:18:27 +00:00
Bill Wendling
207495d8ea
Revert r66765 and r66766. These were causing build failures on Darwin.
...
llvm-svn: 66770
2009-03-12 04:10:09 +00:00
Nick Lewycky
c46949c278
Regenerate.
...
llvm-svn: 66766
2009-03-12 03:34:33 +00:00
Nick Lewycky
714976b70f
Regenerate.
...
llvm-svn: 66407
2009-03-09 06:16:46 +00:00
Nick Lewycky
c540cc6591
Regenerate.
...
llvm-svn: 66157
2009-03-05 08:20:44 +00:00
Nick Lewycky
ed8472e8a1
Regenerate.
...
llvm-svn: 65928
2009-03-03 04:55:29 +00:00
Nick Lewycky
ed98a50358
Regenerate.
...
llvm-svn: 65250
2009-02-21 22:38:49 +00:00
Nick Lewycky
3852519eca
Regenerate.
...
llvm-svn: 65020
2009-02-19 06:18:56 +00:00
Nick Lewycky
11e9214ee6
Regenerate.
...
llvm-svn: 63724
2009-02-04 06:27:44 +00:00
Nick Lewycky
a2cf0ed2c7
Regenerate configure.
...
llvm-svn: 63622
2009-02-03 07:10:30 +00:00
Tanya Lattner
483e12e09e
Regenerated configure after backing out 62553 and r62616.
...
llvm-svn: 62778
2009-01-22 20:11:17 +00:00
Tanya Lattner
c4b1d8295d
Bump to 2.6svn.
...
Regenerate configure (last regen was with the wrong version).
llvm-svn: 62751
2009-01-22 05:17:59 +00:00
Nick Lewycky
c94134dc96
Regenerate.
...
BUILT WITH WRONG VERSION OF AUTOCONF! Somebody please regenerate with an
approved version. Thanks!
llvm-svn: 62554
2009-01-20 00:52:24 +00:00
Bill Wendling
7c53a18a08
Regenerate.
...
llvm-svn: 61649
2009-01-04 23:12:30 +00:00
Richard Osborne
ca08e0645a
Add XCore backend.
...
llvm-svn: 58838
2008-11-07 10:59:00 +00:00
Gordon Henriksen
9b601a4df8
Regenerate.
...
llvm-svn: 57975
2008-10-22 12:40:55 +00:00
Torok Edwin
822dcee526
Regenerate configure
...
llvm-svn: 57971
2008-10-22 09:56:27 +00:00
Tanya Lattner
a432b2efcf
Fix configure issue where configure
...
turned "obj-c++" into "obj" in the langs line.
Update configure script.
llvm-svn: 57267
2008-10-07 22:21:03 +00:00
Tanya Lattner
355c4019e2
Advance version to 2.5
...
llvm-svn: 57233
2008-10-07 04:35:08 +00:00
Duncan Sands
bae7a517cc
Actually run Obj-C++ tests if llvm-gcc supports.
...
Before there were two problems: (1) configure
turned "obj-c++" into "obj" in the langs line;
(2) the dejagnu library called it objc++ not
obj-c++.
Now the problem is that some of these tests don't
pass!
llvm-svn: 57167
2008-10-06 10:31:21 +00:00
Jim Grosbach
009db89513
Add support for Canadian Cross builds where the host executables are not
...
runnable on the build machine.
There are a few bits that need built for the build environment (TableGen).
This patch builds those bits, and the associated libraries, for the build
environment as well as the (usual) host environment.
Thanks to Eric C. and Devang P. for pre-commit review.
llvm-svn: 56975
2008-10-02 22:56:44 +00:00
Jim Grosbach
bfc70b050b
When looking for executable extensions, ignore .dSYM, as that's the debug info directory on Darwin.
...
llvm-svn: 56667
2008-09-26 17:27:58 +00:00
Daniel Dunbar
8eec985ac7
Enable -fvisibility-inlines-hidden by default for compilers which
...
support it.
llvm-svn: 55557
2008-08-30 01:16:19 +00:00
Matthijs Kooijman
f61fd54237
Make LLVM compile on DragonFly BSD (PR2499).
...
Patch by Hasso Tepper!
llvm-svn: 52781
2008-06-26 10:36:58 +00:00
Tanya Lattner
42ba346df6
Regenerate configure.
...
llvm-svn: 52685
2008-06-24 17:49:13 +00:00
Matthijs Kooijman
a2509a1a48
Allow the test suite to be checked out into projects/test-suite.
...
We will keep the old projects/llvm-test working for existing installs.
The changes to configure are made manually, since I lack autoconf-2.6. Someone
might want to run AutoGen.sh to see if that changes anything.
llvm-svn: 52675
2008-06-24 13:01:57 +00:00
Anton Korobeynikov
a393e11e55
Regenerate
...
llvm-svn: 51688
2008-05-29 17:41:34 +00:00
Sanjiv Gupta
83a510ca59
Added configure switches for PIC16 in configure.ac.
...
Regenerated configure.
llvm-svn: 51096
2008-05-14 08:03:23 +00:00
Sanjiv Gupta
f6387983e8
Added configure switches for PIC16 backend.
...
llvm-svn: 51056
2008-05-13 17:37:32 +00:00
Tanya Lattner
b93cfdb48a
Set to 2.4 and regenerate configure.
...
llvm-svn: 50935
2008-05-10 04:20:38 +00:00
Anton Korobeynikov
78695035c4
First step of implementing PR1538: move llvm2cpp logic to new 'target'
...
llvm-svn: 50189
2008-04-23 22:29:24 +00:00
Gordon Henriksen
c1269c8fbe
Regenerate.
...
llvm-svn: 48148
2008-03-10 15:49:38 +00:00
Gordon Henriksen
53aaaaff16
Regenerate.
...
llvm-svn: 48008
2008-03-07 18:20:01 +00:00
Bill Wendling
5ddd03d88b
Use AC_PATH_PROG correctly:
...
http://www.gnu.org/software/autoconf/manual/autoconf.html#Generic-Programs
llvm-svn: 47943
2008-03-05 09:28:02 +00:00
Devang Patel
f64f7fb1b6
Remove use of ltdl
...
llvm-svn: 47065
2008-02-13 17:11:39 +00:00
Chris Lattner
e115fb5b87
regenerate
...
llvm-svn: 46761
2008-02-05 19:43:53 +00:00
Tanya Lattner
45746fb284
Update version to 2.3svn
...
Regenerate configure with 2.60.
llvm-svn: 46119
2008-01-17 05:57:22 +00:00
Nate Begeman
272ee458cf
Do not build CBackend and MSIL regardless of configured targets
...
llvm-svn: 44973
2007-12-13 01:18:52 +00:00
Duncan Sands
fde556745b
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
Duncan Sands
5c65cb4633
Fix PR1836: in the interpreter, read and write apints
...
using the minimum possible number of bytes. For little
endian targets run on little endian machines, apints are
stored in memory from LSB to MSB as before. For big endian
targets on big endian machines they are stored from MSB to
LSB which wasn't always the case before (if the target and
host endianness doesn't match values are stored according
to the host's endianness). Doing this requires knowing the
endianness of the host, which is determined when configuring -
thanks go to Anton for this. Only having access to little
endian machines I was unable to properly test the big endian
part, which is also the most complicated...
llvm-svn: 44796
2007-12-10 17:43:13 +00:00
Scott Michel
7c56a522af
Regenerated configure after autoconf/configure.ac change.
...
llvm-svn: 44628
2007-12-05 21:24:02 +00:00
Devang Patel
e9d786e54d
Add --with-llvmgcc= and --with-llvmgxx= configure options.
...
llvm-svn: 44586
2007-12-04 22:54:47 +00:00
Eric Christopher
e62b441b51
Add target triple to include/llvm/Config/config.h.in. Regenerate all files.
...
llvm-svn: 44478
2007-12-01 00:34:39 +00:00
Gordon Henriksen
80f35e0d4c
Regenerate.
...
llvm-svn: 42575
2007-10-03 12:07:14 +00:00
Gordon Henriksen
da5d5b57bf
Regenerate.
...
llvm-svn: 42533
2007-10-02 16:42:22 +00:00
Gordon Henriksen
acc2a838fa
Regenerate.
...
llvm-svn: 42529
2007-10-02 10:14:42 +00:00
Gordon Henriksen
e61dd67a2b
Regenerate.
...
llvm-svn: 42527
2007-10-02 09:50:32 +00:00
Gordon Henriksen
2717f3bd60
Regenerate.
...
llvm-svn: 42461
2007-09-29 00:42:56 +00:00
Gordon Henriksen
6ab5c57663
Regenerate.
...
llvm-svn: 42241
2007-09-22 21:36:59 +00:00
Gordon Henriksen
d1e1645a4e
Regenerate.
...
llvm-svn: 42164
2007-09-20 16:48:18 +00:00
Gordon Henriksen
4c7ca7d61e
Regenerate.
...
llvm-svn: 42092
2007-09-18 12:27:13 +00:00
Tanya Lattner
613ccacb49
Fix broken default help strings for enable-shared, enable-static, and enable-fast-install. Regenerate configure script.
...
llvm-svn: 42066
2007-09-17 21:41:15 +00:00
Tanya Lattner
36a6fcd327
Change to 2.2svn.
...
llvm-svn: 41941
2007-09-14 01:24:13 +00:00
Tanya Lattner
bca16c80ed
Updating configure script to enable MIPS.
...
llvm-svn: 41568
2007-08-29 16:38:16 +00:00
Reid Spencer
b813556f35
Regenerate.
...
llvm-svn: 41138
2007-08-17 05:45:26 +00:00
Reid Spencer
32046f7b05
Regenerate for __dso_handle, per Anton's request.
...
llvm-svn: 40601
2007-07-30 20:13:24 +00:00