Document ENABLE_ASSERTIONS=1
authorChris Lattner <sabre@nondot.org>
Tue, 21 Mar 2006 01:10:57 +0000 (01:10 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 21 Mar 2006 01:10:57 +0000 (01:10 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26915 91177308-0d34-0410-b5e6-96231b3b80d8

docs/GettingStarted.html
docs/MakefileGuide.html

index a7c1819b452e94cae897b4724263d3f56c5cb606..d0a48e09072c84e49b5d6bf9b2d064b4f32227f4 100644 (file)
@@ -955,6 +955,11 @@ declaring variables on the command line.  The following are some examples:</p>
   Perform a Release (Optimized) build.
   <p>
 
+  <dt><tt>gmake ENABLE_OPTIMIZED=1 ENABLE_ASSERTIONS=1</tt>
+  <dd>
+  Perform a Release (Optimized) build with assertions enabled.
+  <p>
+
   <dt><tt>gmake ENABLE_PROFILING=1</tt>
   <dd>
   Perform a Profiling build.
index f1c546c80ce5231a3ee15736cf1db01d188bb90a..254f21c9e2e4bdce1a0719cb9c0e2c3b44cd824b 100644 (file)
     to the compilers and linkers to ensure that profile data can be collected
     from the tools built. Use the <tt>gprof</tt> tool to analyze the output from
     the profiled tools (<tt>gmon.out</tt>).</dd>
+    <dt><a name="ENABLE_ASSERTIONS"><tt>ENABLE_ASSERTIONS</tt></a></dt>
+    <dd>If set to any value, causes the build to enable assertions, even if 
+    building a release or profile build.  This is slower than a release build but
+    far faster than a debug build.</dd>
     <dt><a name="EXPERIMENTAL_DIRS"><tt>EXPERIMENTAL_DIRS</tt></a></dt>
     <dd>Specify a set of directories that should be built, but if they fail, it
     should not cause the build to fail. Note that this should only be used