Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Nov 2012 08:29:18 -0800
From:      David Chisnall <theraven@FreeBSD.org>
To:        Dimitry Andric <dim@FreeBSD.org>
Cc:        Ian Lepore <freebsd@damnhippie.dyndns.org>, Mateusz Guzik <mjguzik@gmail.com>, Erik Cederstrand <erik@cederstrand.dk>, Andriy Gapon <avg@FreeBSD.org>, freebsd-current@FreeBSD.org
Subject:   Re: compiler info in kernel identification string
Message-ID:  <8DB7E401-FE1C-42E6-90C9-C41B44C8C09E@FreeBSD.org>
In-Reply-To: <50A65E9C.4000704@FreeBSD.org>
References:  <20121113234303.GA15319@dft-labs.eu> <50A3639C.9050200@FreeBSD.org> <1352907497.1217.147.camel@revolution.hippie.lan> <50A57623.4020108@FreeBSD.org> <50A5EC7C.5050303@FreeBSD.org> <5B4DE1FD-5DD3-49A5-B8DB-6D4C03ABD742@cederstrand.dk> <50A606E7.5000302@FreeBSD.org> <E1TZIix-0008lm-Al@kabab.cs.huji.ac.il> <50A65E9C.4000704@FreeBSD.org>

index | next in thread | previous in thread | raw e-mail

On 16 Nov 2012, at 07:41, Dimitry Andric wrote:

> And regarding clang, I don't have the time to implement this very soon,
> and I doubt it is very high on the bug priority list with upstream
> either.  They just branched for the 3.2 release, and they are much
> busier squashing bugs now. :)

Implementing this looks pretty trivial - just add a module-level inline assembly block into the IR for each compilation unit.  Most of the code required in clang will be to provide the command-line flag for turning it off.

If we want this, I probably have time to implement it next week, and we can pull it into the FreeBSD version of clang immediately.

David

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8DB7E401-FE1C-42E6-90C9-C41B44C8C09E>