Re: compiler info in kernel identification string

From: David Chisnall <theraven_at_FreeBSD.org>
Date: Fri, 16 Nov 2012 08:29:18 -0800
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
Received on Fri Nov 16 2012 - 15:29:46 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:32 UTC