Eric Christopher
a7456220ba
Regenerate configure and friends for Chad.
...
llvm-svn: 135592
2011-07-20 17:04:49 +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
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
4bbb5c8546
Regenerate configure.
...
llvm-svn: 133207
2011-06-16 22:30:41 +00:00
Benjamin Kramer
b43ca62f3b
Happy new year.
...
Only 163 days late!
llvm-svn: 132895
2011-06-12 15:26:54 +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
7962eba596
Add InitializeNativeAsmParser function.
...
llvm-svn: 127341
2011-03-09 17:25:46 +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
5d4703a1dd
Regenerate configure.
...
llvm-svn: 124770
2011-02-03 02:40:02 +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
Eric Christopher
7b87454424
Regenerate this for Daniel.
...
llvm-svn: 121227
2010-12-08 02:02:14 +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
Eric Christopher
25f7b89a9e
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
d5ec932c3a
Merge System into Support.
...
llvm-svn: 120298
2010-11-29 18:16:10 +00:00
Duncan Sands
7bda5159fa
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
d9293a1aa5
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
bae8eb410d
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
4533444a49
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
c2eb6da056
Add --enable-docs. Patch by NAKAMURA Takumi.
...
llvm-svn: 118918
2010-11-12 19:24:06 +00:00
Tobias Grosser
d0af23f2b6
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
45db9e63fb
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
3f16e8b729
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
8a4621b7df
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
c9709f154d
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
2143c9d321
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
773c8a1c76
Add support for viewing graphviz graphs with xdot.py.
...
llvm-svn: 114832
2010-09-27 16:28:34 +00:00
Dan Gohman
b881271cd7
Regenerate.
...
llvm-svn: 114197
2010-09-17 20:08:35 +00:00
Nick Lewycky
95bce25477
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
fa4de56909
Regenerate.
...
llvm-svn: 113160
2010-09-06 18:47:10 +00:00
Eric Christopher
da5541e56d
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
d16c80e27f
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
d0404930db
Regenerate.
...
llvm-svn: 112042
2010-08-25 08:45:06 +00:00
Mikhail Glushenkov
486898b881
Regenerate.
...
llvm-svn: 111095
2010-08-15 07:07:17 +00:00
Daniel Dunbar
cb6029f089
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
208d88d665
Regenerate.
...
llvm-svn: 110548
2010-08-08 09:20:39 +00:00
Eric Christopher
d451a3308c
Regenerate.
...
llvm-svn: 110533
2010-08-08 02:44:25 +00:00
Dan Gohman
f4c27697fc
Remove CVS artifacts.
...
llvm-svn: 110207
2010-08-04 16:25:01 +00:00
Daniel Dunbar
3dd4738933
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
f68b6caf37
Regenerate.
...
llvm-svn: 109647
2010-07-28 20:26:43 +00:00
Eric Christopher
ccfb4a03f8
Regenerate.
...
llvm-svn: 109164
2010-07-22 21:13:48 +00:00
Owen Anderson
bf4c855c22
Regenerate.
...
llvm-svn: 108740
2010-07-19 19:42:01 +00:00