From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 4 11:15:35 2013 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 1B471C39 for ; Mon, 4 Mar 2013 11:15:35 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 74804106B for ; Mon, 4 Mar 2013 11:15:34 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id NAA07539; Mon, 04 Mar 2013 13:15:23 +0200 (EET) (envelope-from avg@FreeBSD.org) Message-ID: <5134824B.3000301@FreeBSD.org> Date: Mon, 04 Mar 2013 13:15:23 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130220 Thunderbird/17.0.3 MIME-Version: 1.0 To: Matt Burke Subject: Re: clang generated code sometimes confuses fbt References: <5132387E.8010808@FreeBSD.org> <513453D4.4010305@icritical.com> In-Reply-To: <513453D4.4010305@icritical.com> X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@FreeBSD.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Mar 2013 11:15:35 -0000 on 04/03/2013 09:57 Matt Burke said the following: > On 03/02/13 17:35, Andriy Gapon wrote: > >> To summarize: I would be glad of either clang generated code was >> "fbt-friendly" or if ctf information was generated for >> bpobj_iterate_impl. Either is perfect for me. > > Apologies if this is a silly suggestion, Apologies, but yes, it is :-) > but are you building with -O0? > I've noticed backtraces being hard to follow (i.e. skipping intermediate > and wrapper functions) with a kernel built with the default optimisation > level, and it seems to me that the same thing may be happening here - the > wrappers are being optimised out. > If they were optimized out, then I wouldn't be able to provide their disassembly in my original email, would I? -- Andriy Gapon