From owner-freebsd-toolchain@FreeBSD.ORG Wed Apr 1 21:31:44 2015 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3926712D; Wed, 1 Apr 2015 21:31:44 +0000 (UTC) Received: from mail-ie0-x236.google.com (mail-ie0-x236.google.com [IPv6:2607:f8b0:4001:c03::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F1172D66; Wed, 1 Apr 2015 21:31:43 +0000 (UTC) Received: by ierf6 with SMTP id f6so54503843ier.2; Wed, 01 Apr 2015 14:31:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=t4usCs5hsiexxezQa31m61OaB2g0m41flOjs0aURsqk=; b=UnMVSi+aLZwguV30mRxLW/xusO9IRv87ga47P9nFQF4l8VvX6tMsBVVCfwhwrR5B8a Ny3miFpHSTdBuve6RSVMwOz3/+H3fCTWE4LgSav2vj1Dks/b19XiVuozt3YQedmBpiG6 6+PKypkg6cNTllGkxdkXKWRlSJTPihUnkk+8JPZXZ07sotFJybMpGRAzdIgDbIv3hjxx PnySQMKzQEH040GdolRUr1CjLzD+S+mH9WEDVS5LzBbCMTXBgTSnUm08RxpxB10aCHrx phewKKrN5mv6yAohzYqRzCC61JuB6vKoVvoq09CQHyyJl8/P1HjJFpPnqUrjbcwVOjNf dDZw== X-Received: by 10.50.36.104 with SMTP id p8mr15402624igj.16.1427923903338; Wed, 01 Apr 2015 14:31:43 -0700 (PDT) MIME-Version: 1.0 Sender: carpeddiem@gmail.com Received: by 10.107.158.19 with HTTP; Wed, 1 Apr 2015 14:31:23 -0700 (PDT) In-Reply-To: <9C59EF67-014F-4EA1-B4F5-8E69A5C3E0FD@FreeBSD.org> References: <9C59EF67-014F-4EA1-B4F5-8E69A5C3E0FD@FreeBSD.org> From: Ed Maste Date: Wed, 1 Apr 2015 17:31:23 -0400 X-Google-Sender-Auth: PDyNQSazeKcEbYms7aRcYRUJuMk Message-ID: Subject: Re: profile_rt from llvm folks? To: Dimitry Andric Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-toolchain@freebsd.org" , Benno Rice , NGie Cooper X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Apr 2015 21:31:44 -0000 On 1 April 2015 at 16:35, Dimitry Andric wrote: > On 01 Apr 2015, at 02:03, NGie Cooper wrote: >> >> Hi all, >> We've recently integrated a version of profile_rt from the llvm >> folks internally to replace gcov for code coverage. I was wondering if >> there was a plan to replace the copy of gcov in FreeBSD with the same >> (either in the base system, ports, or both). > > I personally have no plans to do so, but the build of libprofile_rt.a > was added in r276857, at least. Yes, as of that change one can compile with --coverage, and .gcda and .gcno files will be produced via the functionality in libprofile_rt.a. gcov(1) is able to use them, but when I tried llvm-cov it didn't work correctly; in any case, llvm-cov is now on the roadmap for our toolchain. -Ed