<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><font face="Menlo" size="2" class="">Chris, </font></div><div class=""><font face="Menlo" size="2" class=""> Please review.</font></div><font face="Menlo" size="2" class=""><div class=""><font face="Menlo" size="2" class=""><br class=""></font></div>This patch fixes the Clang Stage 2: cmake, R -g Asan+Ubsan, using Stage 1 RA bot.</font><div class=""><span class=""><font face="Menlo" size="2" class=""><br class=""></font></span></div><div class=""><font face="Menlo" size="2" class=""><span class="">Stage 1 was not generating the compile-rt </span><font color="#333333" class=""><span style="white-space: pre-wrap;" class="">libclang_rt.asan_osx_dynamic.dylib and was not building with correct cmake cache file.  This patch changes two lines in the clang builder function to add</span></font></font></div><div class=""><div style="margin: 0px; font-size: 14px; line-height: normal; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">+            '-DCLANG_COMPILER_RT_CMAKE_ARGS={}/llvm/projects/compiler-rt/cmake/caches/Apple.cmake'.format(conf.workspace),</span></div><div style="margin: 0px; font-size: 14px; line-height: normal; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">+            '-DCOMPILER_RT_BUILD_SANITIZERS=On',</span></div></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Tests included in patch.</span></div><div class=""><span style="color: rgb(51, 51, 51); font-family: monospace; font-size: 13px; white-space: pre-wrap;" class=""><br class=""></span></div><div class=""></div></body></html>