1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-23 07:31:31 +00:00
freebsd/lib/clang
Kyle Evans 147d7b567f llvm: add a build knob for enabling assertions
For head/, this will remain eternally default-on to maintain the status quo.
For stable/ branches, it should be flipped to default-off to maintain the
status quo.

There's value in being able to flip it one way or the other easily on head
or stable branches, whether you want to gain some performance back on head/
(for machines there's little chance you'll actually hit an assertion) or
potentially diagnose a problem with the version of llvm on an older branch.

Currently, stable branches get the CFLAGS+= -ndebug line uncommented; going
forward, they will instead have the default of LLVM_ASSERTIONS flipped.

Reviewed by:	dim, emaste, re (gjb)
MFC after:	1 week
MFC note:	flip the default of LLVM_ASSERTIONS
Differential Revision:	https://reviews.freebsd.org/D24264
2020-04-06 01:27:17 +00:00
..
headers
include lldb: build and enable lua script bindings 2020-04-03 16:54:13 +00:00
libclang Update build glue for a full build (MK_CLANG_FULL=yes) of the clang 2020-01-26 17:22:05 +00:00
liblldb lldb: build and enable lua script bindings 2020-04-03 16:54:13 +00:00
libllvm Remove sparc support from clang build infrastructure. Any remaining sparc files 2020-03-20 15:07:15 +00:00
libllvmminimal Add one additional file to libllvmminimal, to help the ppc64 bootstrap. 2020-03-10 20:01:52 +00:00
clang.build.mk
clang.pre.mk
freebsd_cc_version.h
lldb.pre.mk
llvm.build.mk llvm: add a build knob for enabling assertions 2020-04-06 01:27:17 +00:00
llvm.pre.mk
Makefile
Makefile.inc