aboutsummaryrefslogtreecommitdiff
path: root/gcc/final.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2009-09-17 19:27:00 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2009-09-17 17:27:00 +0000
commite7f373fa6952ad2c1bc8980dc29f584127ee0171 (patch)
treea9d4821ab39040c52fd6eded99a01e7bd28822ec /gcc/final.c
parentd2da4af2c7872e1d9892cc5b3792d10dd86782a4 (diff)
downloadgcc-e7f373fa6952ad2c1bc8980dc29f584127ee0171.zip
gcc-e7f373fa6952ad2c1bc8980dc29f584127ee0171.tar.gz
gcc-e7f373fa6952ad2c1bc8980dc29f584127ee0171.tar.bz2
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
Diffstat (limited to 'gcc/final.c')
-rw-r--r--gcc/final.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/final.c b/gcc/final.c
index 3ecb415..cd36860 100644
--- a/gcc/final.c
+++ b/gcc/final.c
@@ -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 */