🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: muc.lists.freebsd.current
Article #19

Re: LLVM "continuous" coverage profiling hack^Wpatch

#19
From: Poul-Henning Kamp
Date: Mon, 12 Oct 2026 19:45
31 lines
3947 bytes
--------
Adrian Chadd writes:

> On Mon, 12 Oct 2026 at 12:16, Poul-Henning Kamp <phk@phk.freebsd.dk> wrote:
>
> > INTRO:
> > ======
> >
> >    Coverage profiling is where the compiler adds counters in the code so
> >    one can tell which bits got executed how many times.
> >
> >
> >
> oh this is neat! I wonder how we should run this up the flagpole at LLVM
> land?

By all means!

Maybe point out to them that the mmap(2) would work on any OS with
a working mmap(2) ?

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Technical Details
Message-ID: <6acd38f7.28ce6.2cda706b@critter.freebsd.dk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!news.szaf.org!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mail
References: <> <CAJ-VmonshistHNE3ez4vErM2FVd5vO_sGA19PUzv3+ugBdWQ-g@mail.gmail.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!news.szaf.org!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mail
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
Newsgroups: muc.lists.freebsd.current
Subject: Re: LLVM "continuous" coverage profiling hack^Wpatch
Date: Mon, 12 Oct 2026 19:45:59 +0000
Organization: Newsgate at muc.de e.V.
Sender: owner-freebsd-current@FreeBSD.org
Approved: news-admin@muc.de
Distribution: world
Message-ID: <6acd38f7.28ce6.2cda706b@critter.freebsd.dk>
References: <> <CAJ-VmonshistHNE3ez4vErM2FVd5vO_sGA19PUzv3+ugBdWQ-g@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2";
	logging-data="19561"; mail-complaints-to="news-admin@muc.de"
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim;
	t=1791834384; h=from:from:sender:sender:reply-to:subject:subject:date:date:
	 message-id:message-id:to:to:cc:cc:mime-version:mime-version:
	 content-type:content-type:in-reply-to:in-reply-to:
	 references:references:list-id:list-help:list-owner:list-unsubscribe:
	 list-subscribe:list-post; bh=o7VT34hDUVNLKPfpdSm4Tz0BB5ph97EZcoqpWx+XBcM=;
	b=AhzfFoXLNdZPy2dumpaNFAZzMak0RhZn30t3ofV5f4u8wocLjo9yo/Mo5x/o97lUtUFMvD
	tvdxUXQ0ZGVlebmqOUnUrXMFn/vnCZtWSDKztQ1iEdk2X+7rJ75B1qZwNXmcrHY46MJbUp
	K5edrSt1FO/VuF2lZwrbcBJvLI1a2+4c0ewWT1T7ett54+8ABvtdcxetoPauNnyQfOZ1M4
	I8rGzRu2SQNvzDw5byOe+iHWrVzTQc6a+lffol//gsY/K0WQlf2oJNQKoOgI30lvw62Cjy
	nnG3ZOMh8JpFWyRIEs2cZg7AlWRRvDUv9mcEO7nZfpfhmUb7QYy/HivxYoskiw==
X-Original-To: current@mlmmj.nyi.freebsd.org
Authentication-Results: mx1.freebsd.org;
	dkim=none;
	spf=pass (mx1.freebsd.org: domain of phk@critter.freebsd.dk designates 130.225.244.222 as permitted sender) smtp.mailfrom=phk@critter.freebsd.dk;
	dmarc=none
In-reply-to: <CAJ-VmonshistHNE3ez4vErM2FVd5vO_sGA19PUzv3+ugBdWQ-g@mail.gmail.com>
Precedence: list
Content-ID: <29803.1791834359.1@critter.freebsd.dk>
X-Spamd-Bar: /
X-Spamd-Result: default: False [0.50 / 15.00];
	HFILTER_FROMHOST_NORESOLVE_MX(0.50)[s2gw.ddhf.dk];
	FORGED_SENDER(0.30)[phk@phk.freebsd.dk,phk@critter.freebsd.dk];
	R_SPF_ALLOW(-0.20)[+mx];
	MIME_GOOD(-0.10)[text/plain];
	R_DKIM_NA(0.00)[];
	FROM_HAS_DN(0.00)[];
	FREEFALL_USER(0.00)[phk];
	ASN(0.00)[asn:1835, ipnet:130.225.0.0/16, country:EU];
	MIME_TRACE(0.00)[0:+];
	TO_DN_SOME(0.00)[];
	ARC_NA(0.00)[];
	MLMMJ_DEST(0.00)[current@freebsd.org];
	MID_RHS_MATCH_FROMTLD(0.00)[];
	RCVD_COUNT_TWO(0.00)[2];
	FROM_NEQ_ENVFROM(0.00)[phk@phk.freebsd.dk,phk@critter.freebsd.dk];
	RCPT_COUNT_TWO(0.00)[2];
	TO_MATCH_ENVRCPT_SOME(0.00)[];
	RCVD_TLS_LAST(0.00)[];
	PREVIOUSLY_DELIVERED(0.00)[current@freebsd.org];
	DMARC_NA(0.00)[freebsd.dk];
	MISSING_XM_UA(0.00)[]
X-Rspamd-Queue-Id: 4j3Sd519Yrz4q3K
X-Newsgate-Id: f02c70b8849f+
X-No-Archive: Yes