Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F106074365
D24264.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D24264.diff
View Options
Index: head/lib/clang/llvm.build.mk
===================================================================
--- head/lib/clang/llvm.build.mk
+++ head/lib/clang/llvm.build.mk
@@ -22,7 +22,9 @@
CFLAGS+= -D__STDC_FORMAT_MACROS
CFLAGS+= -D__STDC_LIMIT_MACROS
CFLAGS+= -DHAVE_VCS_VERSION_INC
-#CFLAGS+= -DNDEBUG
+.if ${MK_LLVM_ASSERTIONS} == "no"
+CFLAGS+= -DNDEBUG
+.endif
TARGET_ARCH?= ${MACHINE_ARCH}
BUILD_ARCH?= ${MACHINE_ARCH}
Index: head/share/mk/src.opts.mk
===================================================================
--- head/share/mk/src.opts.mk
+++ head/share/mk/src.opts.mk
@@ -132,6 +132,7 @@
LLD \
LLD_BOOTSTRAP \
LLD_IS_LD \
+ LLVM_ASSERTIONS \
LLVM_COV \
LLVM_TARGET_ALL \
LOADER_GELI \
Index: head/tools/build/options/WITHOUT_LLVM_ASSERTIONS
===================================================================
--- head/tools/build/options/WITHOUT_LLVM_ASSERTIONS
+++ head/tools/build/options/WITHOUT_LLVM_ASSERTIONS
@@ -0,0 +1,2 @@
+.\" $FreeBSD$
+Set to disable debugging assertions in LLVM.
Index: head/tools/build/options/WITH_LLVM_ASSERTIONS
===================================================================
--- head/tools/build/options/WITH_LLVM_ASSERTIONS
+++ head/tools/build/options/WITH_LLVM_ASSERTIONS
@@ -0,0 +1,2 @@
+.\" $FreeBSD$
+Set to enable debugging assertions in LLVM.
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Dec 25, 11:22 PM (11 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15599436
Default Alt Text
D24264.diff (1 KB)
Attached To
Mode
D24264: llvm: add a build knob for enabling assertions
Attached
Detach File
Event Timeline
Log In to Comment