[libcxx] r297553 - Change test coverage generation to use llvm-cov instead of gcov.

Bruno Cardoso Lopes via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 13 15:04:37 PDT 2017


Hi Eric,

>  if (APPLE AND (LIBCXX_CXX_ABI_LIBNAME STREQUAL "libcxxabi" OR
> @@ -62,12 +66,7 @@ if (APPLE AND LLVM_USE_SANITIZER)
>      message(WARNING "LLVM_USE_SANITIZER=${LLVM_USE_SANITIZER} is not supported on OS X")
>    endif()
>    if (LIBFILE)
> -    execute_process(COMMAND ${CMAKE_CXX_COMPILER} -print-file-name=lib OUTPUT_VARIABLE LIBDIR RESULT_VARIABLE Result)
> -    if (NOT ${Result} EQUAL "0")
> -      message(FATAL "Failed to find library resource directory")
> -    endif()
> -    string(STRIP "${LIBDIR}" LIBDIR)
> -    set(LIBDIR "${LIBDIR}/darwin/")
> +    find_compiler_rt_dir(LIBDIR)

Seems like this broke ASAN+UBSAN bot in green-dragon:
http://green.lab.llvm.org/green/job/clang-stage2-cmake-RgSan_build/3812

Perhaps it's missing the "${LIBDIR}/darwin/" part from above?

-- 
Bruno Cardoso Lopes
http://www.brunocardoso.cc


More information about the cfe-commits mailing list