diff options
author | Richard Henderson <rth@redhat.com> | 2000-11-07 18:18:00 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2000-11-07 18:18:00 -0800 |
commit | 6623457026dcd56ff98d3671fa038818abceaf77 (patch) | |
tree | 039cf362a9d26bfab7e7bde482045c4c205f1b48 /gcc/dwarf2out.c | |
parent | cd5c4048b3b393f2fe046b2d0f676e7f3c3822d8 (diff) | |
download | gcc-6623457026dcd56ff98d3671fa038818abceaf77.zip gcc-6623457026dcd56ff98d3671fa038818abceaf77.tar.gz gcc-6623457026dcd56ff98d3671fa038818abceaf77.tar.bz2 |
dwarfout.c (INSN_LABEL_FMT): Remove.
* dwarfout.c (INSN_LABEL_FMT): Remove.
(output_label_die): Use ASM_GENERATE_INTERNAL_LABEL.
(dwarfout_label): Remove.
* dwarfout.h: Remove it's prototype.
* dwarf2out.c (INSN_LABEL_FMT): Remove.
(gen_label_die): Use ASM_GENERATE_INTERNAL_LABEL.
(dwarf2out_label): Remove.
* dwarf2out.h: Remove it's prototype.
* final.c (final_scan_insn): Don't call dwarf[2]out_label.
From-SVN: r37310
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r-- | gcc/dwarf2out.c | 26 |
1 files changed, 1 insertions, 25 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 507c9a7..a5517a2 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -3594,9 +3594,6 @@ static char debug_line_section_label[MAX_ARTIFICIAL_LABEL_BYTES]; #ifndef BSS_END_LABEL #define BSS_END_LABEL "Lebss" #endif -#ifndef INSN_LABEL_FMT -#define INSN_LABEL_FMT "LI%u_" -#endif #ifndef BLOCK_BEGIN_LABEL #define BLOCK_BEGIN_LABEL "LBB" #endif @@ -9824,7 +9821,6 @@ gen_label_die (decl, context_die) register dw_die_ref lbl_die = new_die (DW_TAG_label, context_die); register rtx insn; char label[MAX_ARTIFICIAL_LABEL_BYTES]; - char label2[MAX_ARTIFICIAL_LABEL_BYTES]; if (origin != NULL) add_abstract_origin_attribute (lbl_die, origin); @@ -9852,9 +9848,7 @@ gen_label_die (decl, context_die) if (INSN_DELETED_P (insn)) abort (); - sprintf (label2, INSN_LABEL_FMT, current_funcdef_number); - ASM_GENERATE_INTERNAL_LABEL (label, label2, - (unsigned) INSN_UID (insn)); + ASM_GENERATE_INTERNAL_LABEL (label, "L", CODE_LABEL_NUMBER (insn)); add_AT_lbl_id (lbl_die, DW_AT_low_pc, label); } } @@ -10966,24 +10960,6 @@ dwarf2out_ignore_block (block) return 1; } -/* Output a marker (i.e. a label) at a point in the assembly code which - corresponds to a given source level label. */ - -void -dwarf2out_label (insn) - register rtx insn; -{ - char label[MAX_ARTIFICIAL_LABEL_BYTES]; - - if (debug_info_level >= DINFO_LEVEL_NORMAL) - { - function_section (current_function_decl); - sprintf (label, INSN_LABEL_FMT, current_funcdef_number); - ASM_OUTPUT_DEBUG_LABEL (asm_out_file, label, - (unsigned) INSN_UID (insn)); - } -} - /* Lookup a filename (in the list of filenames that we know about here in dwarf2out.c) and return its "index". The index of each (known) filename is just a unique number which is associated with only that one filename. |