1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00
llvm-mirror/lib/DebugInfo
George Rimar e510aa5b19 [llvm-dwarfdump] - Fix incorrect parsing of the DW_LLE_startx_length
As was already mentioned in comments for D53364, DWARF 5
spec says about DW_LLE_startx_length:

"This is a form of bounded location description that has two unsigned ULEB operands.
The first value is an address index (into the .debug_addr section) that indicates the beginning of the address range
over which the location is valid. The second value is the length of the range. ")

Currently, the length is always parsed as U32.
Patch change the behavior to parse DW_LLE_startx_length as ULEB128 for DWARF 5
and keeps it as U32 for DWARF4+(pre-DWARF5) for compatibility.

Differential revision: https://reviews.llvm.org/D53564

llvm-svn: 345254
2018-10-25 10:56:44 +00:00
..
CodeView Fix a compilation failure on non-MSVC compilers. 2018-10-08 04:34:41 +00:00
DWARF [llvm-dwarfdump] - Fix incorrect parsing of the DW_LLE_startx_length 2018-10-25 10:56:44 +00:00
MSF [DebugInfo] Common behavior for error types 2018-08-31 17:41:58 +00:00
PDB [PDB] Fix -Wunused-private-field in DIA 2018-10-23 17:20:16 +00:00
Symbolize [DebugInfo] Common behavior for error types 2018-08-31 17:41:58 +00:00
CMakeLists.txt
LLVMBuild.txt