[PATCH] D77346: [docs] Corrected inaccuracies in Common Problems section

Evan LeClercq via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 8 11:15:42 PDT 2020


e-leclercq marked 5 inline comments as done.
e-leclercq added inline comments.


================
Comment at: llvm/docs/GettingStarted.rst:1116
+    - Debug --- This is the default build type. This disables optimizations while
+      compiling LLVM, enables assertions, and enables debug info.
+    
----------------
Meinersbur wrote:
> assertions are controlled by `LLVM_ENABLE_ASSERTIONS`, not `CMAKE_BUILD_TYPE`
I read in the CMake.html doc [[ https://llvm.org/docs/CMake.html#llvm-specific-variables | here ]] that LLVM_ENABLE_ASSERTIONS defaults to ON iff the build type is Debug


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D77346/new/

https://reviews.llvm.org/D77346





More information about the llvm-commits mailing list