Date: Mon, 23 Oct 2017 06:21:35 +0000 (UTC) From: Ngie Cooper <ngie@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r324903 - projects/runtime-coverage Message-ID: <201710230621.v9N6LZlv087188@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ngie Date: Mon Oct 23 06:21:35 2017 New Revision: 324903 URL: https://svnweb.freebsd.org/changeset/base/324903 Log: Trying to get libgcov to work was a stupid, stupid rabbit hole to go down Just use clang and ports gcc. I will fix the cross-toolchain stuff to actually work with MK_COVERAGE -- for now the host-only compilers work just fine. Modified: projects/runtime-coverage/Makefile.inc1 Modified: projects/runtime-coverage/Makefile.inc1 ============================================================================== --- projects/runtime-coverage/Makefile.inc1 Mon Oct 23 05:36:39 2017 (r324902) +++ projects/runtime-coverage/Makefile.inc1 Mon Oct 23 06:21:35 2017 (r324903) @@ -2258,11 +2258,11 @@ _prereq_libs+= gnu/lib/libssp/libssp_nonshared # for world to have runtime coverage instrumentation. # .if ${MK_COVERAGE} != "no" -# XXX (ngie): make this conditional sometime later -.if ${COMPILER_FEATURES:Mc++11} +.if ${COMPILER_TYPE} == clang _prereq_libs+= lib/libclang_rt/profile +.else +.error "Runtime coverage isn't supported with ${COMPILER_TYPE}" .endif -_prereq_libs+= gnu/lib/libgcov .endif # These dependencies are not automatically generated:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201710230621.v9N6LZlv087188>