Re: [RFC] fixing addr2line inline info

2014-11-21 Thread Josh Stone
On 11/21/2014 07:52 AM, Mark Wielaard wrote: > On Tue, 2014-11-18 at 18:04 -0800, Josh Stone wrote: >> I have a simple patch attached to improve the output addr2line -fi. The >> problem I had is it failed to identify the parent function name if there >> was any lexical_block in the scope hierarchy

[PATCH] readelf: print_attributes (-A) robustify and handle non-gnu attributes.

2014-11-21 Thread Mark Wielaard
print_attributes wasn't robust against empty or broken attribute sections. It also only handled GNU attributes. But the arm backend contains some none-GNU attributes. The difference is in how to handle the tag arguments. Adds a new test run-readelf-A.sh for both gnu (ppc32) and non-gnu (arm) attri

Re: [RFC] fixing addr2line inline info

2014-11-21 Thread Mark Wielaard
On Tue, 2014-11-18 at 18:04 -0800, Josh Stone wrote: > I have a simple patch attached to improve the output addr2line -fi. The > problem I had is it failed to identify the parent function name if there > was any lexical_block in the scope hierarchy. For example, try the > following, compiled as t