diff --git a/docs/FAQ.html b/docs/FAQ.html index a76fea66f69..3ada460b03f 100644 --- a/docs/FAQ.html +++ b/docs/FAQ.html @@ -138,8 +138,39 @@ LLVM: Frequently Asked Questions cases, this takes care of the problem. To do this, just type make clean and then make in the directory that fails to build.
+ +
+ For example, if you built LLVM with the command: +
+ gmake ENABLE_PROFILING=1 +
+ ...then you must run the tests with the following commands: +
+ cd llvm/test
gmake ENABLE_PROFILING=1
+
+ +
+ First, the debugging assertions in code are not enabled in optimized or + profiling builds. Hence, tests that used to fail may pass. +
+ Second, some tests may rely upon debugging options or behavior that is + only available in the debug build. These tests will fail in an optimized + or profile build.