Issue 161102.1: .debug_loclists expression length uint16_t could be uleb128

Author: Jan Kratochvil
Champion:
Date submitted: 2016-11-02
Date revised:
Date closed:
Type: Improvement
Status: Accepted
DWARF Version: 5
Section 2.6.2, pg 44
"A counted location description operand consists of a two-byte 
unsigned integer giving the length of the location description"

That length could be for example uleb128 as 99.9~% of those expression
lengths are only few bytes long (definitely <=127) and it would save 
1 byte for each location.

Not a big improvement but when a new section has been introduced anyway.
Not important: Or it could be some other encoding as uleb128 permits even 
values >65535 while DWARF DW_OP_bra and other opcodes do not expect DWARF
expressions larger than 65535.

--

Accepted 1/3/2017.