dim
c9fdfda4f3
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
dim
31c8df9a8a
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
dim
b5e6330452
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
jhb
054937d661
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
dim
09ad5627dc
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
dim
2dddd7a45c
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
dim
91d0a1e5ff
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
bdrewery
293e1695af
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
dim
5b395b80a6
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
dim
663f5db3f7
Merge llvm, clang, lld, lldb, compiler-rt and libc++ r308421, and update
...
build glue.
2017-07-19 19:41:41 +00:00
dim
4d0d296fa3
Merge llvm, clang, lld, lldb, compiler-rt and libc++ r307894, and update
...
build glue.
2017-07-13 21:58:45 +00:00
dim
9a01022502
Merge llvm, clang, lld, lldb, compiler-rt and libc++ r306956, and update
...
build glue.
2017-07-02 11:41:15 +00:00
dim
73efde936a
Merge llvm, clang, lld, lldb, compiler-rt and libc++ r306325, and update
...
build glue.
2017-06-27 06:40:39 +00:00
dim
8c0fbdb3e6
Merge ^/head r319801 through r320041.
2017-06-17 00:14:54 +00:00
dim
e30d1a0bf8
Merge llvm, clang, lld, lldb, compiler-rt and libc++ r305575, and update
...
build glue.
2017-06-17 00:09:34 +00:00
dim
65f3f43118
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
dim
5bbcba2cd3
Merge llvm, clang, lld, lldb, compiler-rt and libc++ r305145, and update
...
build glue.
2017-06-10 19:17:14 +00:00
dim
3432f44f15
Remove a few unneeded files from libllvm, libclang and liblldb.
...
MFC after: 3 days
2017-06-10 18:52:13 +00:00
dim
4a8405fce0
Merge llvm, clang, lld, lldb, compiler-rt and libc++ r304659, and update
...
build glue.
2017-06-03 18:18:34 +00:00
dim
e0ec28bdd9
Merge ^/head r319251 through r319479.
2017-06-01 22:59:41 +00:00
dim
6f031eff4b
Merge llvm, clang, lld, lldb, compiler-rt and libc++ r304460, and update
...
build glue.
2017-06-01 22:47:02 +00:00
dim
6fbb928f93
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
dim
5fbb4e3090
Merge llvm, clang, lld, lldb, compiler-rt and libc++ r304222, and update
...
build glue.
2017-05-30 19:24:09 +00:00
dim
5741134d59
Add one more file to libllvm.
2017-05-29 22:25:56 +00:00
dim
50b9a0a9f0
Merge llvm, clang, lld, lldb, compiler-rt and libc++ r304149, and update
...
build glue.
2017-05-29 22:09:23 +00:00
dim
0588946176
Missed a few additional files in libllvm, for llvm-objdump and llvm-pdbdump.
2017-05-27 11:25:21 +00:00
dim
061a9fc919
Merge llvm, clang, lld, lldb, compiler-rt and libc++ r303571, and update
...
build glue.
2017-05-22 21:17:44 +00:00
dim
f098ed81ee
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
dim
98eb67ebf6
Merge llvm, clang, lld, lldb, compiler-rt and libc++ r303291, and update
...
build glue.
2017-05-18 18:33:33 +00:00
dim
760ca322ee
Merge llvm, clang, lld, lldb, compiler-rt and libc++ r303197, and update
...
build glue.
2017-05-16 21:50:29 +00:00
dim
a825ed5eb2
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
dim
a2f21cd2a8
Merge llvm, clang, lld, lldb, compiler-rt and libc++ r302418, and update
...
build glue.
2017-05-08 19:20:55 +00:00
dim
71c36f7332
Regenerate llvm's config.h file.
2017-05-05 20:45:55 +00:00
dim
ea82a58be7
Some more files in libllvm moved around. These only apply for WITH_CLANG_EXTRAS.
2017-05-04 21:04:38 +00:00
dim
61dad2ea11
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
dim
62479c810b
Merge llvm, clang, lld, lldb, compiler-rt and libc++ r301441, and update
...
build glue.
2017-04-26 22:33:09 +00:00
dim
2fcd40bfda
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
dim
531ca112be
Update some more build glue. All llvm extras, lld and lldb should link now.
2017-04-21 15:59:58 +00:00
dim
399876f56b
Merge llvm, clang, lld and lldb trunk r300890, and update build glue.
2017-04-20 21:48:54 +00:00
dim
3e9d58df7d
Merge ^/head r316992 through r317215.
2017-04-20 21:04:21 +00:00
dim
ec8f294551
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
dim
06180ca3d8
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
dim
1327c8db27
Update objects in liblldb for the MK_LLDB=yes case.
2017-04-18 21:21:31 +00:00
dim
7650f1f5d1
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
dim
281710e0eb
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
dim
e18aa576a0
Add some new objects to libclang for the MK_CLANG_FULL=yes case.
2017-04-17 20:14:32 +00:00
dim
4217fdeeca
Add preliminary UPDATING and ObsoleteFiles.inc entries. Also add one
...
new intrinsics header.
2017-04-17 12:42:58 +00:00
dim
00df9890ad
Initial update of clang/llvm build glue, for building just a minimal
...
clang executable.
2017-04-17 11:21:42 +00:00
dim
b66f65929a
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
dim
2bb4490c3e
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