Dimitry Andric
c891abb2ae
Upgrade our copies of clang, llvm, lld, lldb, compiler-rt and libc++ to
...
5.0.0 release (upstream r312559).
Release notes for llvm, clang and lld will be available here soon:
<http://releases.llvm.org/5.0.0/docs/ReleaseNotes.html >
<http://releases.llvm.org/5.0.0/tools/clang/docs/ReleaseNotes.html >
<http://releases.llvm.org/5.0.0/tools/lld/docs/ReleaseNotes.html >
Relnotes: yes
MFC after: 1 month
X-MFC-with: r321369
2017-09-06 21:21:13 +00:00
Dimitry Andric
3ea909cc76
Upgrade our copies of clang, llvm, lldb and compiler-rt to r312293 from
...
the upstream release_50 branch. This corresponds to 5.0.0 rc4.
As of this version, the cad/stepcode port should now compile in a more
reasonable time on i386 (see bug 221836 for more information).
PR: 221836
MFC after: 2 months
X-MFC-with: r321369
2017-09-01 18:53:36 +00:00
Dimitry Andric
0fa4377182
Upgrade our copies of clang, llvm, lldb and compiler-rt to r311606 from
...
the upstream release_50 branch.
As of this version, lib/msun's trig test should also work correctly
again (see bug 220989 for more information).
PR: 220989
MFC after: 2 months
X-MFC-with: r321369
2017-08-24 20:19:27 +00:00
John Baldwin
de6feefdb7
Improve the coverage of debug symbols for MK_DEBUG_FILES.
...
- Include debug symbols in static libraries. This permits binaries
to include debug symbols for functions obtained from static libraries.
- Permit the C/C++ compiler flags added for MK_DEBUG_FILES to be
overridden by setting DEBUG_FILES_CFLAGS. Use this to limit the debug
information for llvm libraries and binaries.
Reviewed by: emaste
Sponsored by: DARPA / AFRL
Differential Revision: https://reviews.freebsd.org/D12025
2017-08-23 23:30:25 +00:00
Dimitry Andric
0554abf0e0
Upgrade our copies of clang, llvm, lld and libc++ to r311219 from the
...
upstream release_50 branch.
MFC after: 2 months
X-MFC-with: r321369
2017-08-21 07:03:02 +00:00
Dimitry Andric
9dc417c32b
Upgrade our copies of clang, llvm and libc++ to r310316 from the
...
upstream release_50 branch.
MFC after: 2 months
X-MFC-with: r321369
2017-08-09 17:32:39 +00:00
Dimitry Andric
37cd60a321
Upgrade our copies of clang, llvm, lld and lldb to r309439 from the
...
upstream release_50 branch. This is just after upstream's 5.0.0-rc1.
MFC after: 2 months
X-MFC-with: r321369
2017-07-30 18:01:34 +00:00
Bryan Drewery
cd2831005b
Move llvm Options.inc hack from r321433 for NO_CLEAN to lib/clang/libllvm.
...
The files are only ever generated to .OBJDIR, not to WORLDTMP (as a
sysroot) and are only ever included from a compilation. So using
a beforebuild target here removes the file before the compilation
tries to include it.
MFC after: 2 months
X-MFC-With: r321369
2017-07-24 23:32:24 +00:00
Dimitry Andric
0cc9e150fb
Add a few more object files to liblldb, which should solve errors when
...
linking the lldb executable in some cases. In particular, when the
-ffunction-sections -fdata-sections options are turned off, or
ineffective.
Reported by: Shawn Webb, Mark Millard
MFC after: 2 months
X-MFC-With: r308421
2017-07-24 16:33:06 +00:00
Dimitry Andric
b40b48b876
Merge llvm, clang, lld, lldb, compiler-rt and libc++ r308421, and update
...
build glue.
2017-07-19 19:41:41 +00:00
Dimitry Andric
c439438675
Merge llvm, clang, lld, lldb, compiler-rt and libc++ r307894, and update
...
build glue.
2017-07-13 21:58:45 +00:00
Dimitry Andric
a580b01494
Merge llvm, clang, lld, lldb, compiler-rt and libc++ r306956, and update
...
build glue.
2017-07-02 11:41:15 +00:00
Dimitry Andric
edd7eaddc8
Merge llvm, clang, lld, lldb, compiler-rt and libc++ r306325, and update
...
build glue.
2017-06-27 06:40:39 +00:00
Dimitry Andric
4198293b25
Merge ^/head r319801 through r320041.
2017-06-17 00:14:54 +00:00
Dimitry Andric
24d58133b7
Merge llvm, clang, lld, lldb, compiler-rt and libc++ r305575, and update
...
build glue.
2017-06-17 00:09:34 +00:00
Dimitry Andric
5c4e2ac498
Revert r319796 for now, it can cause undefined references when linking
...
in some circumstances.
Reported by: Shawn Webb <shawn.webb@hardenedbsd.org>
2017-06-13 21:01:06 +00:00
Dimitry Andric
db17bf38c5
Merge llvm, clang, lld, lldb, compiler-rt and libc++ r305145, and update
...
build glue.
2017-06-10 19:17:14 +00:00
Dimitry Andric
834210fa5d
Remove a few unneeded files from libllvm, libclang and liblldb.
...
MFC after: 3 days
2017-06-10 18:52:13 +00:00
Dimitry Andric
6d97bb297c
Merge llvm, clang, lld, lldb, compiler-rt and libc++ r304659, and update
...
build glue.
2017-06-03 18:18:34 +00:00
Dimitry Andric
4224465e82
Merge ^/head r319251 through r319479.
2017-06-01 22:59:41 +00:00
Dimitry Andric
f9448bf33f
Merge llvm, clang, lld, lldb, compiler-rt and libc++ r304460, and update
...
build glue.
2017-06-01 22:47:02 +00:00
Dimitry Andric
38d6a62a21
For arm targets, place ABI at the end of the target triple
...
For some reason, we have been inserting the ABI specification into the
middle of the target triple, when building LLVM, like so:
armv6-gnueabi-freebsd12.0
This is the wrong way around. LLVM even auto-canonicalizes it to:
armv6--freebsd12.0-gnueabi
Let's do this the right way in llvm.build.mk instead. While here,
define a proper VENDOR macro which can be overridden easily.
Reviewed by: emaste
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D10846
2017-06-01 21:05:56 +00:00
Dimitry Andric
89cb50c933
Merge llvm, clang, lld, lldb, compiler-rt and libc++ r304222, and update
...
build glue.
2017-05-30 19:24:09 +00:00
Dimitry Andric
0623065970
Add one more file to libllvm.
2017-05-29 22:25:56 +00:00
Dimitry Andric
302affcb04
Merge llvm, clang, lld, lldb, compiler-rt and libc++ r304149, and update
...
build glue.
2017-05-29 22:09:23 +00:00
Dimitry Andric
2a1b82cf19
Missed a few additional files in libllvm, for llvm-objdump and llvm-pdbdump.
2017-05-27 11:25:21 +00:00
Dimitry Andric
d8866befb8
Merge llvm, clang, lld, lldb, compiler-rt and libc++ r303571, and update
...
build glue.
2017-05-22 21:17:44 +00:00
Dimitry Andric
3d54deb33c
Following upstream trunk, enable the new global instruction selection
...
(GlobalISel), cleanup some defines, and adjust the libllvm Makefile for
this.
2017-05-22 19:06:39 +00:00
Dimitry Andric
60ff8e32a5
Merge llvm, clang, lld, lldb, compiler-rt and libc++ r303291, and update
...
build glue.
2017-05-18 18:33:33 +00:00
Dimitry Andric
5517e702c0
Merge llvm, clang, lld, lldb, compiler-rt and libc++ r303197, and update
...
build glue.
2017-05-16 21:50:29 +00:00
Dimitry Andric
68e1931846
Add new LWP intrinsics header, and an option to install internal clang
...
headers which have the same name as our system headers, and might
conflict with them. (It is a work in progress to make these fully
compatible.)
2017-05-09 20:07:34 +00:00
Dimitry Andric
0f5676f432
Merge llvm, clang, lld, lldb, compiler-rt and libc++ r302418, and update
...
build glue.
2017-05-08 19:20:55 +00:00
Dimitry Andric
7d9e99b671
Regenerate llvm's config.h file.
2017-05-05 20:45:55 +00:00
Dimitry Andric
b174acef4c
Some more files in libllvm moved around. These only apply for WITH_CLANG_EXTRAS.
2017-05-04 21:04:38 +00:00
Dimitry Andric
f37b6182a5
Merge llvm, clang, lld, lldb, compiler-rt and libc++ r302069, and update
...
build glue (preliminary, not all option combinations work yet).
2017-05-03 21:54:55 +00:00
Dimitry Andric
51690af2a4
Merge llvm, clang, lld, lldb, compiler-rt and libc++ r301441, and update
...
build glue.
2017-04-26 22:33:09 +00:00
Dimitry Andric
b33474c89f
Strip out a few objects from libclang, liblldb and lldb, which are not
...
referenced due to the selection of tools that we build, and our compile
time options.
2017-04-21 21:06:11 +00:00
Dimitry Andric
482a8244bf
Update some more build glue. All llvm extras, lld and lldb should link now.
2017-04-21 15:59:58 +00:00
Dimitry Andric
6bc11b1414
Merge llvm, clang, lld and lldb trunk r300890, and update build glue.
2017-04-20 21:48:54 +00:00
Dimitry Andric
554491ffbd
Merge ^/head r316992 through r317215.
2017-04-20 21:04:21 +00:00
Dimitry Andric
bcfe4c376c
Add function and data sections when building llvm, clang, lld and lldb,
...
and allow the linker to garbage collect them. This shaves off up to a
few MB from the final executables.
MFC after: 3 days
2017-04-20 21:00:09 +00:00
Dimitry Andric
c83fca58fa
Turn off llvm/clang's ENABLE_BACKTRACES setting, since it never worked
...
properly anyway. (Upstream has reorganized this somewhat in the mean
time, but for proper backtraces we would need llvm-symbolizer in base.)
MFC after: 3 days
2017-04-20 21:00:04 +00:00
Dimitry Andric
7c1fda1cab
Update objects in liblldb for the MK_LLDB=yes case.
2017-04-18 21:21:31 +00:00
Dimitry Andric
28ae63f991
For lldb, delete the custom Xcode-only Host/Config.h, and provide a
...
pre-generated version in lib/clang/include/lldb/Host instead, similar to
what we do for clang, llvm and lld.
2017-04-18 20:31:02 +00:00
Dimitry Andric
050e2df194
Add new objects to lib/clang/lib{llvm,clang} and usr.bin/clang for the
...
MK_CLANG_EXTRAS=yes case.
2017-04-18 17:39:20 +00:00
Dimitry Andric
3762ddd95f
Add some new objects to libclang for the MK_CLANG_FULL=yes case.
2017-04-17 20:14:32 +00:00
Dimitry Andric
f849be8ae8
Add preliminary UPDATING and ObsoleteFiles.inc entries. Also add one
...
new intrinsics header.
2017-04-17 12:42:58 +00:00
Dimitry Andric
5897d2f01b
Initial update of clang/llvm build glue, for building just a minimal
...
clang executable.
2017-04-17 11:21:42 +00:00
Dimitry Andric
817a00731b
Update clang, llvm, lld, lldb, compiler-rt and libc++ to 4.0.0 release.
...
We were already very close to the last release candidate, so this is a
pretty minor update.
Relnotes: yes
MFC after: 1 month
X-MFC-With: r314564
2017-03-10 19:02:41 +00:00
Dimitry Andric
2e477b5e5e
Merge llvm, clang, compiler-rt, libc++, lld and lldb release_40 branch
...
r296509, and update build glue.
2017-02-28 21:18:23 +00:00