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
dim
171c29f1fb
Merge llvm, clang, compiler-rt, libc++, lld and lldb release_40 branch
...
r296202, and update build glue.
2017-02-25 15:00:57 +00:00
dim
36e9e3ef20
Merge llvm, clang, compiler-rt, libc++, lld and lldb release_40 branch
...
r296002, and update build glue.
2017-02-23 19:25:29 +00:00
dim
e540b45c8d
Merge llvm, clang, compiler-rt, libc++, lld and lldb release_40 branch
...
r295380, and update build glue.
2017-02-17 20:07:35 +00:00
dim
67363b4961
Merge llvm, clang, compiler-rt, libc++, lld and lldb release_40 branch
...
r294803, and update build glue.
2017-02-11 13:58:05 +00:00
dim
522087e3da
Merge llvm, clang, compiler-rt, libc++, lld and lldb release_40 branch
...
r294123, and update build glue.
2017-02-05 19:57:41 +00:00
dim
f971e0a0d9
Merge llvm, clang, compiler-rt, libc++, lld and lldb release_40 branch
...
r293807, and update build glue.
2017-02-01 21:57:07 +00:00
dim
d34f934cbb
Merge llvm, clang, compiler-rt, libc++, lld and lldb release_40 branch
...
r293443, and update build glue.
2017-01-29 21:56:47 +00:00
emaste
48f45a5a5b
Add -mlong-calls also to LLVM's STATIC_CFLAGS on ARM
...
-mlong-calls was set only in STATIC_CXXFLAGS, but there are some .c
source files in LLVM which also need -mlong-calls.
Unfortunately this is not sufficient to fix linking lldb on ARM,
because LLVM-generated calls to __aeabi_read_tp do not honour the
-mlong-calls flag. See LLVM PR31769 for details.
Reviewed by: dim
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D9348
2017-01-27 21:26:23 +00:00
emaste
b00d428edd
Additional LD_AS_LLD -> LD_IS_LLD missed in r312894/r312895
2017-01-27 21:14:42 +00:00
emaste
a52f519c26
Also apply WITH_LLD_AS_LD to build tools
...
Previously WITH_LLD_AS_LD installed LLD as /usr/bin/ld in the target
system, but still used the GNU BFD ld to link the binaries in that
target. LLD 4.0.0 can link the FreeBSD/amd64 world and kernel so use
LLD as the build-time linker as well when the knob is set.
Reviewed by: dim
Relnotes: Yes
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D9226
2017-01-25 21:05:48 +00:00
dim
346d410d13
Merge llvm, clang, compiler-rt, libc++, lld and lldb release_40 branch
...
r292951, and update build glue.
2017-01-24 19:56:22 +00:00
dim
10de965d53
Merge llvm, clang, lld and lldb release_40 branch 292732, and update
...
build glue.
2017-01-22 18:02:44 +00:00