Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Mar 2013 13:15:23 +0200
From:      Andriy Gapon <avg@FreeBSD.org>
To:        Matt Burke <mattblists@icritical.com>
Cc:        freebsd-hackers@FreeBSD.org
Subject:   Re: clang generated code sometimes confuses fbt
Message-ID:  <5134824B.3000301@FreeBSD.org>
In-Reply-To: <513453D4.4010305@icritical.com>
References:  <5132387E.8010808@FreeBSD.org> <513453D4.4010305@icritical.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5134824B.3000301>