forked from roolebo/elfutils
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libdw: Handle .debug_rnglists in dwarf_ranges.
Handle all new DW_RLE opcodes in .debug_rnglists in dwarf_ranges. Extract code for reading .debug_addr indexes from dwarf_formaddr as __libdw_addrx to reuse in __libdw_read_begin_end_pair_inc. And add new testcase for "plain" DWARF5 and add a new test all-dwarf-ranges to test split DWARF5. Signed-off-by: Mark Wielaard <[email protected]>
- Loading branch information
Mark Wielaard
committed
May 28, 2018
1 parent
bc1f86b
commit 879f3a4
Showing
15 changed files
with
453 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,18 @@ | ||
2018-04-06 Mark Wielaard <[email protected]> | ||
|
||
* dwarf_formaddr.c (__libdw_addrx): New function, extracted from... | ||
(dwarf_formaddr): here. Use __libdw_addrx. | ||
* dwarf_getlocation.c (getlocations_addr): Pass cu to | ||
__libdw_read_begin_end_pair_inc. | ||
* dwarf_ranges.c (__libdw_read_begin_end_pair_inc): Take cu as | ||
argument. Handle .debug_rnglists. | ||
(initial_offset): Handle .debug_rnglists and DW_FORM_rnglistx. | ||
(dwarf_ranges): Likewise. Check cu isn't NULL before use. Pass cu to | ||
__libdw_read_begin_end_pair_inc. | ||
* libdwP.h (__libdw_read_begin_end_pair_inc): Take cu as argument. | ||
(__libdw_cu_ranges_base): Handle DW_AT_rnglists_base. | ||
(__libdw_addrx): New function definition. | ||
|
||
2018-04-11 Mark Wielaard <[email protected]> | ||
|
||
* dwarf.h: Add DWARF5 range list entry DW_RLE encodings. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.