r279154 - in /trunk/libbacktrace: ChangeLog dwa...

ian@gcc.gnu.org ian@gcc.gnu.org
Tue Dec 10 03:41:00 GMT 2019


Author: ian
Date: Tue Dec 10 03:41:49 2019
New Revision: 279154

URL: https://gcc.gnu.org/viewcvs?rev=279154&root=gcc&view=rev
Log:
libbacktrace: remove duplicate low_pc/high_pc/range handling

	* dwarf.c (struct pcrange): Define.
	(update_pcrange, add_ranges): New static functions.
	(add_unit_addr): Change signature to work with add_ranges.  Don't
	add base_address here.
	(add_unit_ranges): Remove.
	(find_address_ranges): Replace str/ranges parameters with
	dwarf_sections.  Use update_pcrange and add_ranges.  Change all
	callers.
	(add_function_range): Change signature to work with add_ranges.
	Don't add base_address here.
	(add_function_ranges): Remove.
	(read_function_entry): Use update_pcrange and add_ranges.

Modified:
    trunk/libbacktrace/ChangeLog
    trunk/libbacktrace/dwarf.c



More information about the Gcc-cvs mailing list