[llvm] r353008 - [docs] Recommend assertions when testing.
Davide Italiano via llvm-commits
llvm-commits at lists.llvm.org
Sun Feb 3 12:37:13 PST 2019
Author: davide
Date: Sun Feb 3 12:37:13 2019
New Revision: 353008
URL: http://llvm.org/viewvc/llvm-project?rev=353008&view=rev
Log:
[docs] Recommend assertions when testing.
Pointed out by Shoaib Meenai.
Modified:
llvm/trunk/docs/TestingGuide.rst
Modified: llvm/trunk/docs/TestingGuide.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/TestingGuide.rst?rev=353008&r1=353007&r2=353008&view=diff
==============================================================================
--- llvm/trunk/docs/TestingGuide.rst (original)
+++ llvm/trunk/docs/TestingGuide.rst Sun Feb 3 12:37:13 2019
@@ -127,7 +127,7 @@ in release mode, i.e.
.. code-block:: bash
- % cmake -DCMAKE_BUILD_TYPE="Release"
+ % cmake -DCMAKE_BUILD_TYPE="Release" -DLLVM_ENABLE_ASSERTIONS=On
If you have `Clang <http://clang.llvm.org/>`_ checked out and built, you
can run the LLVM and Clang tests simultaneously using:
More information about the llvm-commits
mailing list