diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2010-05-05 10:43:36 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2010-05-05 12:43:36 +0200 |
commit | e972a1d38a15fce91d332f6f9ebee0490fe54743 (patch) | |
tree | 59842b6dc18621e5312a68fbb0c8fbf681aa0180 /gcc/rtl.h | |
parent | 2f41ecf538cfb7f3355dc1844345d9d78e0ca56a (diff) | |
download | gcc-e972a1d38a15fce91d332f6f9ebee0490fe54743.zip gcc-e972a1d38a15fce91d332f6f9ebee0490fe54743.tar.gz gcc-e972a1d38a15fce91d332f6f9ebee0490fe54743.tar.bz2 |
re PR debug/43478 (Missing DW_AT_location for a variable)
PR debug/43478
* df-problems.c (struct dead_debug_use, struct dead_debug): New.
(dead_debug_init, dead_debug_finish): New functions.
(dead_debug_add, dead_debug_insert_before): Likewise.
(df_note_bb_compute): Initialize a dead_debug object, add dead
debug uses to it, insert debug bind insns before death insns,
reset debug insns that refer to pending uses at the end.
* rtl.h (make_debug_expr_from_rtl): New prototype.
* varasm.c (make_debug_expr_from_rtl): New function.
Co-Authored-By: Jakub Jelinek <jakub@redhat.com>
From-SVN: r159063
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r-- | gcc/rtl.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -2382,6 +2382,8 @@ extern rtx emit_library_call_value (rtx, rtx, enum libcall_type, extern void init_varasm_once (void); extern enum tls_model decl_default_tls_model (const_tree); +extern rtx make_debug_expr_from_rtl (const_rtx); + /* In rtl.c */ extern void traverse_md_constants (int (*) (void **, void *), void *); struct md_constant { char *name, *value; }; |