freebsd-dev/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 Update build glue for a minimal build of the clang executable. 2020-01-26 00:21:30 +00:00
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 Move all sources from the llvm project into contrib/llvm-project. 2019-12-20 19:53:05 +00:00
clang.pre.mk Move all sources from the llvm project into contrib/llvm-project. 2019-12-20 19:53:05 +00:00
freebsd_cc_version.h * Bump version numbers to 10.0.0 2020-01-25 16:23:49 +00:00
lldb.pre.mk Move all sources from the llvm project into contrib/llvm-project. 2019-12-20 19:53:05 +00:00
llvm.build.mk llvm: add a build knob for enabling assertions 2020-04-06 01:27:17 +00:00
llvm.pre.mk Move all sources from the llvm project into contrib/llvm-project. 2019-12-20 19:53:05 +00:00
Makefile Completely revamp the way llvm, clang and lldb are built. 2016-08-26 22:44:22 +00:00
Makefile.inc Add WITH_PIE knob to build Position Independent Executables 2019-02-15 22:22:38 +00:00