summaryrefslogtreecommitdiff
path: root/Makefile.config.in
diff options
context:
space:
mode:
authorDavid Greene <greened@obbligato.org>2007-06-28 19:36:08 +0000
committerDavid Greene <greened@obbligato.org>2007-06-28 19:36:08 +0000
commita696d24ad275608540aba1e5c668bbd52e04317e (patch)
tree6fad9d35105e5dfcbaa83e58a78ef2a7b92f904b /Makefile.config.in
parent31ed0fb804dd86fb15093e114701932119914400 (diff)
downloadllvm-a696d24ad275608540aba1e5c668bbd52e04317e.tar.gz
llvm-a696d24ad275608540aba1e5c668bbd52e04317e.tar.bz2
llvm-a696d24ad275608540aba1e5c668bbd52e04317e.tar.xz
Add support for building with _GLIBCXX_DEBUG. New configure option
--enable-expensive-checks allows the developer to enable runtime checking that can greatly increase compile time. Currently it only turns on _GLIBCXX_DEBUG. Other expensive debugging checks added later should be controlled by this configure option. This patch also updates llvm-config with a --cppflags option to inform llvm-gcc how to build itself so that it is compatible with an llvm that was built with _GLIBCXX_DEBUG. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37777 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.config.in')
-rw-r--r--Makefile.config.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.config.in b/Makefile.config.in
index 03e625be22..add81531f2 100644
--- a/Makefile.config.in
+++ b/Makefile.config.in
@@ -209,6 +209,11 @@ OBJ_ROOT := .
#DISABLE_ASSERTIONS = 1
@DISABLE_ASSERTIONS@
+# When ENABLE_EXPENSIVE_CHECKS is enabled, builds of all of the LLVM
+# code will include expensive checks, otherwise they are excluded.
+#ENABLE_EXPENSIVE_CHECKS = 0
+@ENABLE_EXPENSIVE_CHECKS@
+
# When DEBUG_RUNTIME is enabled, the runtime libraries will retain debug
# symbols.
#DEBUG_RUNTIME = 1