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
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
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
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
Rui Paulo
582a734e13
Build clang libraries by default with -fno-exceptions and with
...
-fno-rtti. The clang libaries that really use exceptions and virtual
functions can enable LLVM_REQUIRES_EH and LLVM_REQUIRES_RTTI
respectively. This saves space on the resulting binaries and follows
what's being done upstream.
Submitted by: Dimitry Andric <dimitry at andric.com>
2010-07-22 19:09:34 +00:00
Ed Schouten
ffd1746d03
Upgrade our Clang in base to r108428.
...
This commit merges the latest LLVM sources from the vendor space. It
also updates the build glue to match the new sources. Clang's version
number is changed to match LLVM's, which means /usr/include/clang/2.0
has been renamed to /usr/include/clang/2.8.
Obtained from: projects/clangbsd
2010-07-20 17:16:57 +00:00
Dag-Erling Smørgrav
dd73646c6c
Install tblgen so partial / progressive builds are still possible.
2010-06-12 16:04:29 +00:00
Roman Divacky
47c832c3dd
Import the build makefiles for clang/LLVM.
...
Approved by: ed (mentor)
2010-06-09 19:32:20 +00:00