Document ENABLE_ASSERTIONS=1

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26915 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2006-03-21 01:10:57 +00:00
parent 7192786afc
commit d465126f5d
2 changed files with 9 additions and 0 deletions

View File

@ -955,6 +955,11 @@ declaring variables on the command line. The following are some examples:</p>
Perform a Release (Optimized) build. Perform a Release (Optimized) build.
<p> <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> <dt><tt>gmake ENABLE_PROFILING=1</tt>
<dd> <dd>
Perform a Profiling build. Perform a Profiling build.

View File

@ -632,6 +632,10 @@
to the compilers and linkers to ensure that profile data can be collected 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 from the tools built. Use the <tt>gprof</tt> tool to analyze the output from
the profiled tools (<tt>gmon.out</tt>).</dd> 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> <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 <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 should not cause the build to fail. Note that this should only be used