Add support for building with _GLIBCXX_DEBUG. New configure option
authorDavid Greene <greened@obbligato.org>
Thu, 28 Jun 2007 19:36:08 +0000 (19:36 +0000)
committerDavid Greene <greened@obbligato.org>
Thu, 28 Jun 2007 19:36:08 +0000 (19:36 +0000)
commita696d24ad275608540aba1e5c668bbd52e04317e
tree6fad9d35105e5dfcbaa83e58a78ef2a7b92f904b
parent31ed0fb804dd86fb15093e114701932119914400
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
Makefile.config.in
Makefile.rules
autoconf/configure.ac
configure
tools/llvm-config/Makefile
tools/llvm-config/llvm-config.in.in