Update docs for ENABLE_ASSERTIONS -> DISABLE_ASSERTIONS
authorReid Spencer <rspencer@reidspencer.com>
Sun, 9 Apr 2006 23:45:38 +0000 (23:45 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Sun, 9 Apr 2006 23:45:38 +0000 (23:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27553 91177308-0d34-0410-b5e6-96231b3b80d8

docs/GettingStarted.html
docs/MakefileGuide.html

index d0a48e09072c84e49b5d6bf9b2d064b4f32227f4..e9a725ecdf015e442675e89129e68d3b4477c41f 100644 (file)
@@ -955,9 +955,9 @@ 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>
+  <dt><tt>gmake ENABLE_OPTIMIZED=1 DISABLE_ASSERTIONS=1</tt>
   <dd>
-  Perform a Release (Optimized) build with assertions enabled.
+  Perform a Release (Optimized) build without assertions enabled.
   <p>
 
   <dt><tt>gmake ENABLE_PROFILING=1</tt>
index 27dc361cec8575bbb743a1e07d81bdcddcf1231c..54f6b22f6d9fd732a4e5fe013b06830882a7530f 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="DISABLE_ASSERTIONS"><tt>DISABLE_ASSERTIONS</tt></a></dt>
+    <dd>If set to any value, causes the build to disable assertions, even if 
+    building a release or profile build.  This will exclude all assertion check
+    code from the build. LLVM will execute faster, but with little help when
+    things go wrong.</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