This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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
be better.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]