Sebastian Pop
69b2b86143
rename LLVM_HOSTTRIPLE into LLVM_DEFAULT_TARGET_TRIPLE
...
llvm-svn: 143501
2011-11-01 21:31:44 +00:00
Sebastian Pop
26b43f8a5a
derive LLVM_HOSTTRIPLE from target
...
llvm-svn: 143500
2011-11-01 21:30:04 +00:00
Dan Gohman
892b86e74c
Remove the Alpha backend.
...
llvm-svn: 143164
2011-10-27 22:56:32 +00:00
Charles Davis
f672c3b138
Revert 142997. It doesn't work on Mac OS or the BSDs, which all use the BSD
...
version of the install program, which does not have the --strip-program
switch.
llvm-svn: 143009
2011-10-26 02:28:32 +00:00
Eric Christopher
948bef0014
Search for and use the strip program and pass it to install for it
...
to use for stripping final executables.
Patch by Simon Atanasyan!
llvm-svn: 142997
2011-10-26 00:52:13 +00:00
Eric Christopher
b14f867444
Handle newer cases for freebsd which is approaching 10.0 and not 1.0.
...
Patch by Dimitry Andric!
llvm-svn: 142995
2011-10-26 00:42:12 +00:00
Dan Gohman
77125e4240
Remove the Blackfin backend.
...
llvm-svn: 142880
2011-10-25 00:05:42 +00:00
Dan Gohman
b54d296fd4
Remove the SystemZ backend.
...
llvm-svn: 142878
2011-10-24 23:48:32 +00:00
NAKAMURA Takumi
3e8c737ac8
autoconf: Introduce --with-clang-srcdir, to build out-of-tree clang as tools/clang on tools/Makefile.
...
llvm-svn: 142102
2011-10-16 02:54:26 +00:00
Bill Wendling
8a448fe1cf
ToT is now for 3.1.
...
llvm-svn: 142044
2011-10-15 02:09:17 +00:00
Torok Edwin
50c1b48b4c
ocaml bindings: add findlib META support
...
This makes it easier to link against LLVM libs, especially if you are using
_oasis.
llvm-svn: 141992
2011-10-14 20:38:02 +00:00
NAKAMURA Takumi
0a86c2d187
configure: [cygming] Set --disable-embed-stdcxx by default on --enable-shared.
...
Many distros provide stdc++.dll recently. --enable-embed-stdcxx might confuse people.
llvm-svn: 141875
2011-10-13 18:04:52 +00:00
Eric Christopher
f79f875df9
We're no longer going to bother supporting platforms that don't
...
support C89.
We probably didn't support them anyways.
llvm-svn: 140361
2011-09-23 00:53:10 +00:00
Eric Christopher
2bb395fedf
Remove the rest of the compiler checking from the top level configure
...
script. Only the testsuite project needs to know this information.
llvm-svn: 140220
2011-09-21 00:53:42 +00:00
Eric Christopher
9b721ff19e
Remove llvm-gcc and various compiler handling from llvm. It's not needed
...
here anymore and has been migrated to the test-suite project.
llvm-svn: 140216
2011-09-20 23:58:15 +00:00
Eric Christopher
51a2da3389
Fix typos.
...
llvm-svn: 140194
2011-09-20 22:26:35 +00:00
Eric Christopher
92ffa08e9a
Remove llvmc and assorted build machinery for it.
...
The problems that llvmc solved have largely been subsumed with the
tasks that the clang driver can accomplish, but llvmc lacks flexibility
and depends too heavily on the EOL'd llvm-gcc.
llvm-svn: 140093
2011-09-19 23:22:41 +00:00
Eric Christopher
9f7d25652d
Rename LLVM_MULTITHREADED define and fix build without threads.
...
Patch by Arrowdodger.
llvm-svn: 140064
2011-09-19 20:43:23 +00:00
Eric Christopher
381ec749e0
Move the AC_PROG_CC checks earlier in the configure file. The lateness
...
of the original check meant that configure was caching the default
CC check and using that instead of the result of AC_PROG_CC in both
configure checks and during compilation.
This wasn't affecting C++ so it was hard to notice.
Regenerate configure.
llvm-svn: 139937
2011-09-16 20:36:25 +00:00
Eric Christopher
b952f777b3
Have the llvm configure process look for clang, then llvm-gcc, and then gcc
...
on all platforms.
llvm-svn: 139934
2011-09-16 20:36:16 +00:00
Ivan Krasin
b2cd1f27c1
Update config.sub, config.guess and configure.
...
The motivation to do that:
1. Now, llvm would use the stock config.sub. Before that we had an
uncommitted FreeBSD-related patch. Now, it has been upstreamed and
comes back. It means that it would be easier to update these files in
the next time (less magic knowledge)
2. Fix a typo for pseudo-CPUs: 32e[lb] -> [lb]e32, 64e[lb]->[lb]64.
One of these CPUs is used for PNaCl and it was not really convenient
to have a CPU that starts with a digit.
llvm-svn: 138323
2011-08-23 06:43:49 +00:00
Ivan Krasin
311fcc9b92
Add NativeClient operating system support.
...
This patch adds support of NativeClient (*-*-nacl) OS support to LLVM.
It's already supported in autoconf/config.sub.
The motivation for this change is to start upstreaming PNaCl work. The
whole set of patches include llvm backends (i686, x86_64, ARM),
llvm-gcc (probably, would not be upstreamed because it's deprecated)
and clang (the work has been just started, the amount of changes is
going to be low and the most of the work is expected to be done close
to the mainline).
llvm-svn: 138005
2011-08-18 22:54:21 +00:00
Ivan Krasin
0b6c512312
Update autoconfig/config.{sub,guess} to the latest version
...
from the GNU upstream: git://git.savannah.gnu.org/config.git
1. It eliminates a local LLVM patch for auroraux (because, the
mainline config.sub has already got support of auroraux)
2. It adds several new recognized target cpus and operating systems
(in particular, PNaCl)
llvm-svn: 137984
2011-08-18 21:23:18 +00:00
Chad Rosier
f2c22fe8eb
Update the default bug report url in autoconf.
...
llvm-svn: 136721
2011-08-02 20:53:43 +00:00
Evan Cheng
7b4cb12a95
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
6934331f4c
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
Evan Cheng
bfc0cac54d
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
Chad Rosier
480582c363
Add new configure option, --with-bug-report-url, which allows users/vendors to
...
specify where bug reports should be submitted.
Part of rdar://9575623
llvm-svn: 135233
2011-07-15 00:37:26 +00:00
Evan Cheng
9e8f90a020
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
6ebfe1623c
Add initial *-*-rtems* target, from Joel Sherrill
...
llvm-svn: 134282
2011-07-01 22:41:06 +00:00
Daniel Dunbar
c8ac4fdd6d
build/configure: Add support for --with-extra-ld-options flag (to provide extra
...
options just to pass to ld).
llvm-svn: 133206
2011-06-16 22:30:38 +00:00
Benjamin Kramer
b43ca62f3b
Happy new year.
...
Only 163 days late!
llvm-svn: 132895
2011-06-12 15:26:54 +00:00
Roman Divacky
7d38839fb3
Use processor name in the target triple. This fixes PowerPC64 to generate
...
64bit code for example.
llvm-svn: 132627
2011-06-04 06:15:42 +00:00
John McCall
645e5b19b7
...this is not a good commit day for me.
...
llvm-svn: 132294
2011-05-29 19:44:55 +00:00
John McCall
46c7b963b2
On Darwin ARM, set the UNWIND_RESUME libcall to _Unwind_SjLj_Resume.
...
This is important for the correct lowering of unwind instructions
(which doesn't matter at all) and llvm.eh.resume calls (which does).
llvm-svn: 132291
2011-05-29 19:39:04 +00:00
Duncan Sands
9f313fa916
The dragonegg option to disable LLVM optimizations changed.
...
llvm-svn: 131903
2011-05-23 16:50:29 +00:00
Peter Collingbourne
59864a5443
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
3788ada5db
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
0304b82f80
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
d6b1fb373b
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
c2e23ec55c
Missing file from previous commmit (127341) for InitializeTargetAsmParser function.
...
llvm-svn: 127345
2011-03-09 18:36:40 +00:00
Bill Wendling
f93e7d6c17
Change the next release number to 3.0svn.
...
llvm-svn: 127213
2011-03-08 03:00:02 +00:00
NAKAMURA Takumi
55dd89bf51
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
aa8b506820
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
f635194b62
configure: Add checks for <sys/uio.h> and writev().
...
llvm-svn: 124769
2011-02-03 02:39:58 +00:00
NAKAMURA Takumi
4d8db8b43c
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
ec5eb9ed74
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
2bb1326bb6
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
Daniel Dunbar
32c68a7d29
autoconf: Stop lying to me.
...
llvm-svn: 121222
2010-12-08 01:48:03 +00:00
Eric Christopher
d03fbe7b3d
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