r171655 - in /trunk/gcc: ChangeLog dwarf2out.c

rsandifo@gcc.gnu.org rsandifo@gcc.gnu.org
Tue Mar 29 10:07:00 GMT 2011


Author: rsandifo
Date: Tue Mar 29 10:07:09 2011
New Revision: 171655

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=171655
Log:
gcc/
	* dwarf2out.c (dw_loc_list_node): Add resolved_addr and replaced.
	(cached_dw_loc_list_def): New structure.
	(cached_dw_loc_list): New typedef.
	(cached_dw_loc_list_table): New variable.
	(cached_dw_loc_list_table_hash): New function.
	(cached_dw_loc_list_table_eq): Likewise.
	(add_location_or_const_value_attribute): Take a bool cache_p.
	Cache the list when the parameter is true.
	(gen_formal_parameter_die): Update caller.
	(gen_variable_die): Likewise.
	(dwarf2out_finish): Likewise.
	(dwarf2out_abstract_function): Nullify cached_dw_loc_list_table
	while generating debug info for the decl.
	(dwarf2out_function_decl): Clear cached_dw_loc_list_table.
	(dwarf2out_init): Initialize cached_dw_loc_list_table.
	(resolve_addr): Cache the result of resolving a chain of
	location lists.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/dwarf2out.c



More information about the Gcc-cvs mailing list