From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 4 07:57:42 2013 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 97AF2E92 for ; Mon, 4 Mar 2013 07:57:42 +0000 (UTC) (envelope-from mattblists@icritical.com) Received: from mail3.icritical.com (mail3.icritical.com [212.57.248.143]) by mx1.freebsd.org (Postfix) with SMTP id 081BB241 for ; Mon, 4 Mar 2013 07:57:41 +0000 (UTC) Received: (qmail 27220 invoked from network); 4 Mar 2013 07:57:37 -0000 Received: from localhost (127.0.0.1) by mail3.icritical.com with SMTP; 4 Mar 2013 07:57:37 -0000 Received: (qmail 27204 invoked by uid 599); 4 Mar 2013 07:57:30 -0000 Received: from unknown (HELO PDC002.icritical.int) (212.57.254.146) by mail3.icritical.com (qpsmtpd/0.28) with ESMTP; Mon, 04 Mar 2013 07:57:30 +0000 Message-ID: <513453D4.4010305@icritical.com> Date: Mon, 4 Mar 2013 07:57:08 +0000 From: Matt Burke User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130122 Thunderbird/17.0.2 MIME-Version: 1.0 To: Andriy Gapon Subject: Re: clang generated code sometimes confuses fbt References: <5132387E.8010808@FreeBSD.org> In-Reply-To: <5132387E.8010808@FreeBSD.org> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-TLS-Incoming: YES X-Virus-Scanned: by iCritical at mail3.icritical.com 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 07:57:42 -0000 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, 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. -- Sorry for the following iCritical is a brand of Critical Software Ltd. Registered in England & Wales: 04909220. Registered Office: IC2, Keele Science Park, Keele, Staffordshire, ST5 5NH. This message has been scanned for security threats by iCritical. The information contained in this message is confidential and intended for the addressee only. If you have received this message in error, or there are any problems with its content, please contact the sender.