From owner-freebsd-current@FreeBSD.ORG Fri Nov 16 16:29:46 2012 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 06D93FCE; Fri, 16 Nov 2012 16:29:46 +0000 (UTC) (envelope-from theraven@FreeBSD.org) Received: from theravensnest.org (theraven.freebsd.your.org [216.14.102.27]) by mx1.freebsd.org (Postfix) with ESMTP id B58F08FC12; Fri, 16 Nov 2012 16:29:45 +0000 (UTC) Received: from dhcp107-16-154-228.hil-sdgodt.snd.wayport.net (dhcp107-16-154-228.hil-sdgodt.snd.wayport.net [107.16.154.228]) (authenticated bits=0) by theravensnest.org (8.14.5/8.14.5) with ESMTP id qAGGTGX0038338 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES128-SHA bits=128 verify=NO); Fri, 16 Nov 2012 16:29:17 GMT (envelope-from theraven@FreeBSD.org) Subject: Re: compiler info in kernel identification string Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset=us-ascii From: David Chisnall In-Reply-To: <50A65E9C.4000704@FreeBSD.org> Date: Fri, 16 Nov 2012 08:29:18 -0800 Content-Transfer-Encoding: quoted-printable Message-Id: <8DB7E401-FE1C-42E6-90C9-C41B44C8C09E@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> <50A65E9C.4000704@FreeBSD.org> To: Dimitry Andric X-Mailer: Apple Mail (2.1278) Cc: Ian Lepore , Mateusz Guzik , Erik Cederstrand , Andriy Gapon , freebsd-current@FreeBSD.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Nov 2012 16:29:46 -0000 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=