Simon J. Gerraty
9a08faa5bf
Updated depends
2014-05-10 21:53:07 +00:00
Simon J. Gerraty
cc3f4b9965
Merge from head
2014-05-08 23:54:15 +00:00
Warner Losh
c6063d0da8
Use src.opts.mk in preference to bsd.own.mk except where we need stuff
...
from the latter.
2014-05-06 04:22:01 +00:00
Simon J. Gerraty
3b8f084595
Merge head
2014-04-28 07:50:45 +00:00
Warner Losh
3bdf775801
NO_MAN= has been deprecated in favor of MAN= for some time, go ahead
...
and finish the job. ncurses is now the only Makefile in the tree that
uses it since it wasn't a simple mechanical change, and will be
addressed in a future commit.
2014-04-13 05:21:56 +00:00
Dimitry Andric
32a632c401
Enable parallel building for gnu/usr.bin and usr.bin/clang too.
...
MFC after: 2 weeks
X-MFC-With: r263778
2014-03-27 20:15:33 +00:00
Dimitry Andric
21efc33edc
Apply fix for lldb not linking after the sparc backend import.
...
Reported by: se
Pointy hat to: dim
2014-03-01 16:07:17 +00:00
Dimitry Andric
bdc74e2bc0
Merge from head up to r262536.
2014-02-26 22:26:40 +00:00
Dimitry Andric
137470fbfb
Add Makefile glue to build the Sparc backend libraries and link them
...
into the clang executable.
2014-02-20 22:22:39 +00:00
Ed Maste
5eef691b3e
Update LLDB bmake build for r262187
...
Sponsored by: DARPA, AFRL
2014-02-18 20:25:02 +00:00
Ed Maste
adacc0725e
Update lldb for clang/llvm 3.4 import
...
This commit largely restores the lldb source to the upstream r196259
snapshot with the addition of threaded inferior support and a few bug
fixes.
Specific upstream lldb revisions restored include:
SVN git
181387 779e6ac
181703 7bef4e2
182099 b31044e
182650 f2dcf35
182683 0d91b80
183862 15c1774
183929 99447a6
184177 0b2934b
184948 4dc3761
184954 007e7bc
186990 eebd175
Sponsored by: DARPA, AFRL
2014-02-17 18:50:03 +00:00
Dimitry Andric
f785676f2a
Upgrade our copy of llvm/clang to 3.4 release. This version supports
...
all of the features in the current working draft of the upcoming C++
standard, provisionally named C++1y.
The code generator's performance is greatly increased, and the loop
auto-vectorizer is now enabled at -Os and -O2 in addition to -O3. The
PowerPC backend has made several major improvements to code generation
quality and compile time, and the X86, SPARC, ARM32, Aarch64 and SystemZ
backends have all seen major feature work.
Release notes for llvm and clang can be found here:
<http://llvm.org/releases/3.4/docs/ReleaseNotes.html >
<http://llvm.org/releases/3.4/tools/clang/docs/ReleaseNotes.html >
MFC after: 1 month
2014-02-16 19:44:07 +00:00
Dimitry Andric
840f097103
Enable llvm's integrated assembler for PowerPC, since it should now be
...
good enough for typical usage.
Requested by: rdivacky
MFC after: 1 week
2013-12-16 18:45:21 +00:00
Simon J. Gerraty
3caf0790a8
Merge head@256284
2013-10-13 02:35:19 +00:00
Simon J. Gerraty
34b33809b7
Updated dependencies
2013-10-13 00:24:00 +00:00
Ed Maste
e8f1392d95
Add LLDB bmake infrastructure
...
This connects LLDB to the build, but it is disabled by default. Add
WITH_LLDB= to src.conf to build it.
Note that LLDB requires a C++11 compiler so is disabled on platforms
using GCC.
Approved by: re (gjb)
Sponsored by: DARPA, AFRL
2013-09-20 01:52:02 +00:00
Simon J. Gerraty
d1d0158641
Merge from head
2013-09-05 20:18:59 +00:00
Dimitry Andric
284c197886
Upgrade our copy of llvm/clang to 3.3 release.
...
Release notes are still in the works, these will follow soon.
MFC after: 1 month
2013-06-12 18:48:53 +00:00
Simon J. Gerraty
69e6d7b75e
sync from head
2013-04-12 20:48:55 +00:00
Dimitry Andric
139f7f9bf5
Upgrade our copy of llvm/clang to trunk r178860, in preparation of the
...
upcoming 3.3 release (branching and freezing expected in a few weeks).
Preliminary release notes can be found at the usual location:
<http://llvm.org/docs/ReleaseNotes.html >
An MFC is planned once the actual 3.3 release is finished.
2013-04-12 17:57:40 +00:00
Simon J. Gerraty
c2365cc4cc
Updated dependencies
2013-03-17 01:54:35 +00:00
Andrew Turner
8a166cafe0
Allow us to build clang for ARM EABI. Clang and llvm use the
...
arm-gnueabi-freebsd10.0 triple for EABI. Use this when we are on arm or
armv6 and are building for EABI.
Reviewed by: dim
2013-02-12 05:56:00 +00:00
David E. O'Brien
d9a447559b
Sync with HEAD.
2013-02-08 16:10:16 +00:00
Dimitry Andric
df5d2454a3
Pull in r170135 from upstream clang trunk:
...
Dont use/link ARCMT, StaticAnalyzer and Rewriter to clang when the user
specifies not to. Dont build ASTMatchers with Rewriter disabled and
StaticAnalyzer when it's disabled.
Without all those three, the clang binary shrinks (x86_64) from ~36MB
to ~32MB (unstripped).
To disable these clang components, and get a smaller clang binary built
and installed, set WITHOUT_CLANG_FULL in src.conf(5). During the
initial stages of buildworld, those extra components are already
disabled automatically, to save some build time.
MFC after: 1 week
2013-02-02 22:28:29 +00:00
Dimitry Andric
c80e6c4bec
Upgrade our copy of llvm/clang to 3.2 release.
...
Release notes for llvm:
http://llvm.org/releases/3.2/docs/ReleaseNotes.html
Release notes for clang:
http://llvm.org/releases/3.2/tools/clang/docs/ReleaseNotes.html
MFC after: 2 weeks
2012-12-23 13:04:00 +00:00
Dimitry Andric
3861d79fd7
Upgrade our copy of llvm/clang to r168974, from upstream's release_32
...
branch. This is effectively llvm/clang 3.2 RC2; the 3.2 release is
coming soon.
2012-12-03 19:24:08 +00:00
Simon J. Gerraty
7cd2dcf076
Updated/new Makefile.depend
2012-11-08 21:24:17 +00:00
Dimitry Andric
38b2a8bd2d
Belatedly add links from /usr/bin/clang to /usr/bin/CC, like it has been
...
done for g++.
MFC after: 3 days
2012-11-07 20:03:45 +00:00
Simon J. Gerraty
23090366f7
Sync from head
2012-11-04 02:52:03 +00:00
Dimitry Andric
5ea2b3b5db
Sprinkle a bit of style.Makefile(5) across various clang Makefiles. No
...
functional changes.
MFC after: 3 days
2012-08-23 17:08:07 +00:00
Marcel Moolenaar
7750ad47a9
Sync FreeBSD's bmake branch with Juniper's internal bmake branch.
...
Requested by: Simon Gerraty <sjg@juniper.net>
2012-08-22 19:25:57 +00:00
Dimitry Andric
5d15267e31
When WITH_CLANG_EXTRAS is enabled, avoid needlessly building the llvm
...
and clang extras in the cross-tools stage.
MFC after: 1 week
2012-08-21 18:24:11 +00:00
Dimitry Andric
f37c3908ee
Support the WITH_SHARED_TOOLCHAIN setting that was introduced in r234782
...
for the clang executable. Build it statically by default, like the gcc
executables, which should improve performance a little bit.
MFC after: 1 week
2012-08-21 17:58:30 +00:00
Dimitry Andric
7ae0e2c9f0
Upgrade our copy of llvm/clang to trunk r162107. With thanks to
...
Benjamin Kramer and Joerg Sonnenberger for their input and fixes.
2012-08-20 18:33:03 +00:00
Glen Barber
2fccbf04cc
General mdoc(7) and typo fixes.
...
PR: 167696
Submitted by: Nobuyuki Koganemaru (kogane!jp.freebsd.org)
MFC after: 3 days
2012-05-10 02:07:00 +00:00
Dimitry Andric
cb4dff8563
Upgrade our copy of llvm/clang to r155985, from upstream's release_31
...
branch. This brings us very close to the 3.1 release, which is planned
for May 14th.
MFC after: 2 weeks
2012-05-03 20:41:21 +00:00
Dimitry Andric
dff0c46c97
Upgrade our copy of llvm/clang to trunk r154661, in preparation of the
...
upcoming 3.1 release (expected in a few weeks). Preliminary release
notes can be found at: <http://llvm.org/docs/ReleaseNotes.html >
MFC after: 2 weeks
2012-04-16 21:23:25 +00:00
Dimitry Andric
dfbaea8347
Add a WITH_CLANG_IS_CC option for src.conf(5), disabled by default, that
...
installs clang as /usr/bin/cc, /usr/bin/c++ and /usr/bin/cpp.
Note this does *not* disable building and installing gcc, which will
still be available as /usr/bin/gcc, /usr/bin/g++ and /usr/bin/gcpp. If
you want to disable gcc completely, you must use WITHOUT_GCC.
MFC after: 2 weeks
2012-02-29 22:58:51 +00:00
Dimitry Andric
6bb1cadd56
Add a WITH_CLANG_EXTRAS option for src.conf(5), disabled by default,
...
that builds the following additional llvm/clang tools:
- bugpoint
- llc
- lli
- llvm-ar
- llvm-as
- llvm-bcanalyzer
- llvm-diff
- llvm-dis
- llvm-extract
- llvm-ld
- llvm-link
- llvm-mc
- llvm-nm
- llvm-objdump
- llvm-prof
- llvm-ranlib
- llvm-rtdyld
- llvm-stub
- macho-dump
- opt
These tools are mainly useful for people that want to manipulate llvm
bitcode (.bc) and llvm assembly language (.ll) files, or want to tinker
with llvm and clang themselves.
MFC after: 2 weeks
2012-02-05 23:56:22 +00:00
Dimitry Andric
6122f3e60d
Upgrade our copy of llvm/clang to r142614, from upstream's release_30
...
branch. This brings us very close to the 3.0 release, which is expected
in a week or two.
MFC after: 1 week
2011-10-22 14:08:43 +00:00
Dimitry Andric
ce4903ad98
Add symlink from clang to clang-cpp, so you can use CPP=clang-cpp in
...
Makefiles. Also add a manpage symlink for it.
MFC after: 3 days
2011-10-12 17:47:15 +00:00
Dimitry Andric
0e19228d25
Add manpage symlink for clang++(1).
...
PR: docs/149051
MFC after: 3 days
2011-10-12 17:25:49 +00:00
Dimitry Andric
17a519f92f
Upgrade our copy of llvm/clang to r135360, from upstream's trunk.
2011-07-17 19:51:40 +00:00
Dimitry Andric
bd5abe1968
Upgrade our copy of llvm/clang to r132879, from upstream's trunk.
2011-06-12 18:01:31 +00:00
Dimitry Andric
565a812648
Minor updates to the clang and tblgen manpages.
2011-05-02 21:10:13 +00:00
Dimitry Andric
3b0f406639
Upgrade our copy of llvm/clang to r130700, from upstream's trunk.
2011-05-02 21:04:37 +00:00
Dimitry Andric
9190ccb851
Regenerate clang and tblgen manpages; the clang manpage has some minor
...
updates.
2011-02-27 01:45:36 +00:00
Dimitry Andric
2754fe609d
Upgrade our copy of llvm/clang to r126079, from upstream's trunk.
...
This contains many improvements, primarily better C++ support, an
integrated assembler for x86 and support for -pg.
2011-02-20 19:33:47 +00:00
Dimitry Andric
0d2d8fab68
Add manpages for clang and tblgen. These were generated from upstream's
...
tools/clang/docs/tools/clang.pod and docs/CommandGuide/tblgen.pod,
respectively.
Approved-by: rpaulo (mentor)
2010-09-27 19:03:18 +00:00
Dimitry Andric
e580952d8a
Upgrade our Clang in base to r114020, from upstream's release_28 branch.
...
Approved-by: rpaulo (mentor)
2010-09-20 16:43:17 +00:00