Re: [RFC] perf tools: Filter out hidden symbols from labels

From: Nick Clifton
Date: Wed Jan 16 2019 - 10:47:56 EST


Hi Arnaldo,

>> Unfortunately the annobin notes will probably not be very helpful as they
>> only record a minor subset of the typical gcc command line options.
>> (Specifically: -O, -g, -D_FORTIFY_SOURCE, -D_GLIBCXX_ASSERTIONS,
>> -fcf-protection, -fpic (and variants), -fshort-enum, -fstack-clash-protection,
>> -fstack-protector, -mstackrealign, -fexceptions).
>
> Humm, is -fno-omit-frame-pointer there by any chance? :-)

Not at the moment, although it could be added. All of the options
mentioned in the above list are recorded because they have an impact
on the security hardening of the binary. Other options are ignored
because, at least for now, they have no security implications.

Cheers
Nick