clang generated code sometimes confuses fbt

Andriy Gapon avg at FreeBSD.org
Mon Mar 4 11:15:35 UTC 2013


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


More information about the freebsd-hackers mailing list