mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
![Dimitry Andric](/assets/img/avatar_default.png)
Commit de6feefdb7
limited the amount of debuginfo generated for clang
and other llvm-related executables. This was done to save disk space and
memory during building, but it makes debugging any of these executables
much harder.
Add a new src.conf(5) setting, WITH_LLVM_FULL_DEBUGINFO, to generate
full debuginfo instead. This is off by default, but could for example be
enabled for release builds or snapshots, so llvm executables are easier
to debug.
Reviewed by: emaste
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D43839
13 lines
197 B
Makefile
13 lines
197 B
Makefile
|
|
.include <bsd.init.mk>
|
|
.include "../clang.pre.mk"
|
|
|
|
LIB= clangminimal
|
|
INTERNALLIB=
|
|
|
|
SRCDIR= clang/lib
|
|
SRCS+= Support/RISCVVIntrinsicUtils.cpp
|
|
|
|
.include "../clang.build.mk"
|
|
.include <bsd.lib.mk>
|