Why do test results differ when I perform different types of builds?
The LLVM test suite is dependent upon several features of the LLVM tools and libraries. 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.