dwarf2out.c: Include tree-pass.h and gimple.h.
* dwarf2out.c: Include tree-pass.h and gimple.h. (loc_list_plus_const): New function. (loc_descriptor_from_tree_1): Rename to ... (loc_descriptor_from_tree): ... remove original. (loc_list_from_tree): New function. (add_AT_location_description): Accept location list. (tls_mem_loc_descriptor): Update call of loc_descriptor_from_tree. (concatn_mem_loc_descriptor): Remove. (mem_loc_descriptor): Handle CONCAT/CONCATN and VAR_LOCATION by returning NULL. (secname_for_decl): Move up. (hidden_reference_p): New function; break out from ... (loc_by_refernece): ... here; move up. (dw_loc_list): New function. (single_element_loc_list): New function. (single_element_loc_list_p): New function. (add_loc_descr_to_each): New function. (add_loc_list): New function. (loc_descr_from_tree): Make wraper of loc_list_from_tree. (loc_list_from_tree): Reroganized from loc_descr_from_tree; add diagnostics why expansion failed. (add_location_or_const_value_attribute): Support location lists. (add_bound_info): Likewise. (descr_info_loc): Update call of loc_descriptor_from_tree. (gen_variable_die): Work on location lists. * final.c (pass_final): Add dump file. * Makefile.in (dwarf2out.o): Add new dependencies. From-SVN: r151807
This commit is contained in:
parent
d2da4af2c7
commit
e7f373fa69
4 changed files with 568 additions and 241 deletions
|
@ -1,3 +1,33 @@
|
|||
2009-09-17 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
* dwarf2out.c: Include tree-pass.h and gimple.h.
|
||||
(loc_list_plus_const): New function.
|
||||
(loc_descriptor_from_tree_1): Rename to ...
|
||||
(loc_descriptor_from_tree): ... remove original.
|
||||
(loc_list_from_tree): New function.
|
||||
(add_AT_location_description): Accept location list.
|
||||
(tls_mem_loc_descriptor): Update call of loc_descriptor_from_tree.
|
||||
(concatn_mem_loc_descriptor): Remove.
|
||||
(mem_loc_descriptor): Handle CONCAT/CONCATN and VAR_LOCATION by
|
||||
returning NULL.
|
||||
(secname_for_decl): Move up.
|
||||
(hidden_reference_p): New function; break out from ...
|
||||
(loc_by_refernece): ... here; move up.
|
||||
(dw_loc_list): New function.
|
||||
(single_element_loc_list): New function.
|
||||
(single_element_loc_list_p): New function.
|
||||
(add_loc_descr_to_each): New function.
|
||||
(add_loc_list): New function.
|
||||
(loc_descr_from_tree): Make wraper of loc_list_from_tree.
|
||||
(loc_list_from_tree): Reroganized from loc_descr_from_tree;
|
||||
add diagnostics why expansion failed.
|
||||
(add_location_or_const_value_attribute): Support location lists.
|
||||
(add_bound_info): Likewise.
|
||||
(descr_info_loc): Update call of loc_descriptor_from_tree.
|
||||
(gen_variable_die): Work on location lists.
|
||||
* final.c (pass_final): Add dump file.
|
||||
* Makefile.in (dwarf2out.o): Add new dependencies.
|
||||
|
||||
2009-09-17 Janis Johnson <janis187@us.ibm.com>
|
||||
|
||||
PR c/41049
|
||||
|
|
|
@ -2731,7 +2731,7 @@ dwarf2out.o : dwarf2out.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
|||
output.h $(DIAGNOSTIC_H) $(REAL_H) hard-reg-set.h $(REGS_H) $(EXPR_H) \
|
||||
libfuncs.h $(TOPLEV_H) dwarf2out.h reload.h $(GGC_H) $(EXCEPT_H) dwarf2asm.h \
|
||||
$(TM_P_H) langhooks.h $(HASHTAB_H) gt-dwarf2out.h $(TARGET_H) $(CGRAPH_H) \
|
||||
$(MD5_H) $(INPUT_H) $(FUNCTION_H) $(VARRAY_H)
|
||||
$(MD5_H) $(INPUT_H) $(FUNCTION_H) $(VARRAY_H) $(GIMPLE_H) $(TREE_PASS_H)
|
||||
dwarf2asm.o : dwarf2asm.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
||||
$(FLAGS_H) $(RTL_H) $(TREE_H) output.h dwarf2asm.h $(TM_P_H) $(GGC_H) \
|
||||
gt-dwarf2asm.h $(DWARF2_H) $(SPLAY_TREE_H) $(TARGET_H)
|
||||
|
|
775
gcc/dwarf2out.c
775
gcc/dwarf2out.c
File diff suppressed because it is too large
Load diff
|
@ -4304,7 +4304,7 @@ struct rtl_opt_pass pass_final =
|
|||
{
|
||||
{
|
||||
RTL_PASS,
|
||||
NULL, /* name */
|
||||
"final", /* name */
|
||||
NULL, /* gate */
|
||||
rest_of_handle_final, /* execute */
|
||||
NULL, /* sub */
|
||||
|
|
Loading…
Add table
Reference in a new issue