Article View: muc.lists.freebsd.current
Article #54Re: LLVM "continuous" coverage profiling hack^Wpatch
From: Poul-Henning Kamp
Date: Mon, 19 Oct 2026 06:06
Date: Mon, 19 Oct 2026 06:06
20 lines
3783 bytes
3783 bytes
-------- Enji Cooper (yaneurabeya) writes: > I'm a bit puzzled how this is different from the already > documented/implemented --coverage option in compiler_rt, It's the exact same code, but the counters are mmap(2)'ed, so they survive core-dumps, setuid(), chroot(2) and other "weird cases" where atexit(3) does not do what you expect. -- 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:
<6ad5b372.2813d.5bc74dde@critter.freebsd.dk>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mailReferences:
<66D9C9E8-2F62-4596-85E2-00FA9729E8A9@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!feeder.erje.net!news2.arglkargh.de!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, 19 Oct 2026 06:06:42 +0000 Organization: Newsgate at muc.de e.V. Sender: owner-freebsd-current@FreeBSD.org Approved: news-admin@muc.de Distribution: world Message-ID: <6ad5b372.2813d.5bc74dde@critter.freebsd.dk> References: <66D9C9E8-2F62-4596-85E2-00FA9729E8A9@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="16484"; mail-complaints-to="news-admin@muc.de" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1792390038; 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=sZr92qFKvwhBwOUoW6HkwY1riyH5ubFTSBjmsm1cDjg=; b=fJ4ObzxUci68bg790uHUfgK8sBPI9N2izxndJOUYnYjPwhnP0RQa7hDpXxF6vioBEWWf/n QeN4VWHrA8CwF7b/mJxlrr+66+zkwVFOvxc6TlyhQqf3gEMr4OoWmhe7muiM6a4Vh5gD6N MJNHQT7u2GfRuF949dXgWNzGH9LHbum4VlFITlRJpj9NXVQ2WwM1LKpLe+jvW3CkjK3nFk s/hS8prZV0+er5RpgocpbxA3ArA8lHjHv6hoWzS1QiRp0RF6OuQYGxybS6QWQFn3NNBHid 0Xc1Jn2jS1+dE3k2Sc7rgW0gPBR5xiF3cafiMi+3py7sTYTn+qKHm6OX1h8l1w== 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: <66D9C9E8-2F62-4596-85E2-00FA9729E8A9@gmail.com> Precedence: list Content-ID: <13547.1792390002.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]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; ASN(0.00)[asn:1835, ipnet:130.225.0.0/16, country:EU]; MIME_TRACE(0.00)[0:+]; FREEFALL_USER(0.00)[phk]; TO_DN_SOME(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[current@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_NEQ_ENVFROM(0.00)[phk@phk.freebsd.dk,phk@critter.freebsd.dk]; MISSING_XM_UA(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[current@freebsd.org]; DMARC_NA(0.00)[freebsd.dk]; RCVD_TLS_LAST(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; RCPT_COUNT_THREE(0.00)[3] X-Rspamd-Queue-Id: 4j7Q6X3J0Gz3LWT X-Newsgate-Id: f02c70b8849f+ X-No-Archive: Yes