Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
4f988ea2
Commit
4f988ea2
authored
May 06, 1997
by
Jason Merrill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
From-SVN: r14025
parent
db3cf6fb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
gcc/dwarf2out.c
+3
-3
No files found.
gcc/dwarf2out.c
View file @
4f988ea2
...
@@ -166,7 +166,7 @@ static dw_cfi_ref cie_cfi_head;
...
@@ -166,7 +166,7 @@ static dw_cfi_ref cie_cfi_head;
maximum number of function definitions contained within the current
maximum number of function definitions contained within the current
compilation unit. These numbers are used to create unique label id's
compilation unit. These numbers are used to create unique label id's
unique to each function definition. */
unique to each function definition. */
static
unsigned
current_funcdef_number
=
1
;
static
unsigned
current_funcdef_number
=
0
;
/* Some DWARF extensions (e.g., MIPS/SGI) implement a subprogram
/* Some DWARF extensions (e.g., MIPS/SGI) implement a subprogram
attribute that accelerates the lookup of the FDE associated
attribute that accelerates the lookup of the FDE associated
...
@@ -1380,6 +1380,8 @@ dwarf2out_begin_prologue ()
...
@@ -1380,6 +1380,8 @@ dwarf2out_begin_prologue ()
char
label
[
MAX_ARTIFICIAL_LABEL_BYTES
];
char
label
[
MAX_ARTIFICIAL_LABEL_BYTES
];
register
dw_fde_ref
fde
;
register
dw_fde_ref
fde
;
++
current_funcdef_number
;
function_section
(
current_function_decl
);
function_section
(
current_function_decl
);
ASM_GENERATE_INTERNAL_LABEL
(
label
,
FUNC_BEGIN_LABEL
,
ASM_GENERATE_INTERNAL_LABEL
(
label
,
FUNC_BEGIN_LABEL
,
current_funcdef_number
);
current_funcdef_number
);
...
@@ -1421,8 +1423,6 @@ dwarf2out_end_epilogue ()
...
@@ -1421,8 +1423,6 @@ dwarf2out_end_epilogue ()
ASM_OUTPUT_LABEL
(
asm_out_file
,
label
);
ASM_OUTPUT_LABEL
(
asm_out_file
,
label
);
fde
=
&
fde_table
[
fde_table_in_use
-
1
];
fde
=
&
fde_table
[
fde_table_in_use
-
1
];
fde
->
dw_fde_end
=
xstrdup
(
label
);
fde
->
dw_fde_end
=
xstrdup
(
label
);
++
current_funcdef_number
;
}
}
void
void
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment