This is the mail archive of the
mailing list for the elfutils project.
Re: [PATCH] libdw: Read DW_AT_decl_file/line/column as unsigned
- From: Josh Stone <jistone at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Wed, 05 Feb 2014 12:02:47 -0800
- Subject: Re: [PATCH] libdw: Read DW_AT_decl_file/line/column as unsigned
On 02/05/2014 11:58 AM, Josh Stone wrote:
> Also, an assertion on the range of line/column is now a handled error,
> setting DWARF_E_INVALID_DWARF for values greater than INT_MAX.
Note, this is not so much INVALID as UNSUPPORTED, really, as the current
API can only deal with int values. I still think an assert was the
wrong way to handle this, but maybe a new DWARF_E_UNSUPPORTED code would