Commit Graph

120 Commits

Author SHA1 Message Date
joerg
21205470c2 Remove atomic hack for ARM, libc now provides the missing symbols. 2014-07-05 20:45:49 +00:00
joerg
0cfeec7c2c Mark files without llvm-209886 tag as dead. 2014-05-31 22:42:11 +00:00
joerg
7429e1daf1 Mark files without clang-209886 tag as dead. 2014-05-31 22:40:30 +00:00
joerg
b1bb3099bf Update build system for LLVM/Clang snapshot r209886. This brings in the
merged AArch64 backend and the move of eARM to DWARF exception handling
for NetBSD. C++11 is required for building.
2014-05-30 18:28:13 +00:00
joerg
571e46f85f Import Clang 3.5svn r209886. 2014-05-30 18:13:37 +00:00
joerg
4b590142ed Import LLVM 3.5svn r209886. 2014-05-30 18:09:54 +00:00
joerg
773779a5e8 __ppc__ is not supported by GCC, so use __powerpc__. 2014-03-12 15:24:08 +00:00
joerg
1e03b295f8 Update build glue for LLVM/Clang r202566. News:
- match ARM CPU default of GCC
- better support for SPARC64
- type checkings for abs/fabs
- null pointer checks against struct member
- various other improvements
2014-03-04 21:05:05 +00:00
joerg
f7ecfbd2ed Import LLVM 3.5svn r202566. 2014-03-04 20:49:27 +00:00
joerg
0b1d2313d3 Import LLVM 3.5svn r202566. 2014-03-04 20:32:45 +00:00
joerg
83820d9427 Import Clang 3.5svn r202566. 2014-03-04 19:53:10 +00:00
joerg
985bd56043 Import Clang 3.5svn r202566. 2014-03-04 19:41:04 +00:00
joerg
c544fc34ef Build glue for the libedit wrapper, not yet used. 2014-02-14 20:32:58 +00:00
joerg
6befd1d588 Update LLVm/Clang to 3.5svn r201163. This brings improvements to the
16bit x86 support, self hosting for SPARC64 and improvements to the
NetBSD driver on ARM, AArch64 and MIPS.
2014-02-14 20:23:56 +00:00
joerg
c4d029a7ad Import LLVM 3.5svn r201163. 2014-02-14 20:09:23 +00:00
joerg
ed535df4b4 Import Clang 3.5svn r201163. 2014-02-14 20:04:58 +00:00
joerg
e11fa3afbb Disable compiler version check for now. 2014-01-16 19:08:11 +00:00
joerg
dd255ccea4 Update build glue for LLVM/Clang 3.5svn r199312. Noticable changes
include bug fixes for the loop vectorizer, initial work for assembler
parser/disassembler on SPARC, improvements to ARM assembler and .code16
support on x86.
2014-01-15 22:21:33 +00:00
joerg
cc5d4edde3 Import Clang 3.5svn r199312 2014-01-15 21:25:28 +00:00
joerg
db7e057da8 Import LLVM 3.5svn r199312 2014-01-15 21:23:25 +00:00
joerg
9c5ce38628 On ARM, force compiling some files in libc++ and LLVM's support library
with -march=armv6 to get native atomics as we currently lack the
fallback symbols in libgcc and libc.
2014-01-15 21:14:54 +00:00
joerg
476dbf72eb Don't checkout compiler-rt, drop old build glue. 2014-01-15 20:53:00 +00:00
joerg
8fa06c3796 Replace with a simple -e x for sed. 2014-01-07 01:59:36 +00:00
joerg
6d322f2f45 Update LLVM family to 3.5svn r198450. Interesting changes include:
- Improvements in the SPARC64 support
- ARM backend can almost build a full NetBSD/EABI system with the
  integrated assembler
- PowerPC grows disassembler support
- LLD supports copy relocation, beginning of MIPS backend
- New diagnostic for use of bool expression as size_t argument for
  strncmp and friends
2014-01-05 16:38:05 +00:00
joerg
fdaf75aa90 Import LLVM 3.5svn r198450. 2014-01-05 16:12:50 +00:00
joerg
d149ea39d0 Import LLVM 3.5svn r198450. 2014-01-05 16:02:49 +00:00
joerg
e47237241a Import clang 3.5svn r198450. 2014-01-05 15:39:14 +00:00
joerg
eef7c51327 Import clang 3.5svn r198450. 2014-01-05 15:29:16 +00:00
joerg
b9e7c04633 Skip suffixes like -eabi for the host target, when invoking configure. 2014-01-05 15:19:39 +00:00
joerg
e8d787cbb3 Build tools without debug symbols by default. 2014-01-05 15:17:04 +00:00
joerg
ca6583ddbc Use head to remove final #endif, newer versions will contain multiple
conditional blocks for dealing with Apple universal binaries.
2014-01-05 15:15:34 +00:00
joerg
1faba89d06 Update revision for import of r196603. 2013-12-06 23:21:31 +00:00
joerg
49d3a2eb83 Import LLVM 3.4 RC2 r196603.
Bug fixes, most noticable for inconsistencies in vectorized code.
2013-12-06 23:18:22 +00:00
joerg
1d57ee3e45 Import clang 3.4rc2 r196603.
Many bug fixes and improvements for the driver NetBSD/ARM EABI.
2013-12-06 23:16:49 +00:00
joerg
95a24f0297 Split checkout target into two parts now that llvm and clang are
imported. Requested by matt@
2013-12-03 22:42:55 +00:00
joerg
7146c0e533 Forgotten file in update to r195771. 2013-11-28 14:20:33 +00:00
joerg
89906191b6 Update LLVM/Clang to r195771 from the 3.4 release branch. 2013-11-28 14:19:59 +00:00
joerg
1497ea0f18 Import LLVM 3.4rc1 r195771. 2013-11-28 14:17:29 +00:00
joerg
b9d39ec3ed Import Clang 3.4rc1 r195771. 2013-11-28 14:14:46 +00:00
joerg
b17548bd54 Update LLVM/Clang snapshot to r194393 for the FPU changes on x86. 2013-11-11 23:51:36 +00:00
joerg
6808667375 Update LLVM/Clang snapshot to r193633. Fixes an old and somewhat amusing
bug involving a source file foo.c, a function foo and a static
function-local variable c in the direct object writer.
2013-10-30 20:27:39 +00:00
joerg
5b20895cf8 Update LLVM/Clang snapshot to r193064 for another bugfix related to
exception handling.
2013-10-21 19:27:55 +00:00
joerg
7997799121 Update to LLVM/Clang r193040 for a bug fix in the phi splitting around
landing pads.
2013-10-20 14:53:22 +00:00
joerg
5a96ebd356 Update LLVM/Clang snapshot to r192615, which defaults to libc++ and the
unwinder in libc on x86.
2013-10-14 21:19:16 +00:00
joerg
1a037cc30d Don't pass -std=c++11 down to configure, it breaks C compiler detection.
Regen configuration.
2013-10-14 01:47:50 +00:00
joerg
5748dfdc47 Update LLVM/Clang snapshot to r192551 for various bug fixes. 2013-10-14 01:37:39 +00:00
joerg
5f3aa2dbae Hook up initial build infrastructure for LLDB. Update LLVM/Clang
snapshot to r191390 for some required changed. Re-enable static analyzer
in Clang.
2013-09-29 12:11:59 +00:00
joerg
3657cb7f1d Update LLVM/Clang snapshot to r191105. This brings in a better detection
of unused static variables and functions. Disable this for some external
code and for ioconf.c in the kernel.
2013-09-21 22:28:12 +00:00
joerg
acdab5428b Use CPPFLAGS.src and not COPTS.src to override -std=c++11 flag. The
latter doesn't help make depend.
2013-09-03 14:54:00 +00:00
joerg
6c440ed37c Update LLVM/Clang snapshot to r189662. This includes many improvements
to the new SLP vectorizer, fast codegen support for PPC and using
terminfo for the color sequences. In addition, add (optional) build
infrastructure for lld to allow easier testing. This is controlled by
MKLLD.
2013-09-02 14:34:55 +00:00