[llvm] r290556 - [doc] Add mention of the difference in optimization level between Release and RelWithDebInfo in Cmake.rst
Mehdi Amini via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 26 15:42:12 PST 2016
Author: mehdi_amini
Date: Mon Dec 26 17:42:12 2016
New Revision: 290556
URL: http://llvm.org/viewvc/llvm-project?rev=290556&view=rev
Log:
[doc] Add mention of the difference in optimization level between Release and RelWithDebInfo in Cmake.rst
This is surprising to many people.
Modified:
llvm/trunk/docs/CMake.rst
Modified: llvm/trunk/docs/CMake.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/CMake.rst?rev=290556&r1=290555&r2=290556&view=diff
==============================================================================
--- llvm/trunk/docs/CMake.rst (original)
+++ llvm/trunk/docs/CMake.rst Mon Dec 26 17:42:12 2016
@@ -186,6 +186,8 @@ CMake manual, or execute ``cmake --help-
Sets the build type for ``make``-based generators. Possible values are
Release, Debug, RelWithDebInfo and MinSizeRel. If you are using an IDE such as
Visual Studio, you should use the IDE settings to set the build type.
+ Be aware that Release and RelWithDebInfo are not using the same optimization
+ level on most platform.
**CMAKE_INSTALL_PREFIX**:PATH
Path where LLVM will be installed if "make install" is invoked or the
More information about the llvm-commits
mailing list