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
1f17868a
Commit
1f17868a
authored
Nov 23, 1993
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(output_local_subroutine_die): Use the function name
from its symbol_ref, not DECL_ASSEMBLER_NAME. From-SVN: r6142
parent
1be07046
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
1 deletions
+15
-1
gcc/dwarfout.c
+15
-1
No files found.
gcc/dwarfout.c
View file @
1f17868a
...
@@ -3557,8 +3557,22 @@ output_local_subroutine_die (arg)
...
@@ -3557,8 +3557,22 @@ output_local_subroutine_die (arg)
if
(
TREE_ASM_WRITTEN
(
decl
))
if
(
TREE_ASM_WRITTEN
(
decl
))
{
{
char
label
[
MAX_ARTIFICIAL_LABEL_BYTES
];
char
label
[
MAX_ARTIFICIAL_LABEL_BYTES
];
rtx
x
;
char
*
fnname
;
low_pc_attribute
(
IDENTIFIER_POINTER
(
DECL_ASSEMBLER_NAME
(
decl
)));
/* Get the function's name, as described by its RTL.
This may be different from the DECL_NAME name used
in the source file. */
x
=
DECL_RTL
(
decl
);
if
(
GET_CODE
(
x
)
!=
MEM
)
abort
();
x
=
XEXP
(
x
,
0
);
if
(
GET_CODE
(
x
)
!=
SYMBOL_REF
)
abort
();
fnname
=
XSTR
(
x
,
0
);
low_pc_attribute
(
fnname
);
sprintf
(
label
,
FUNC_END_LABEL_FMT
,
current_funcdef_number
);
sprintf
(
label
,
FUNC_END_LABEL_FMT
,
current_funcdef_number
);
high_pc_attribute
(
label
);
high_pc_attribute
(
label
);
sprintf
(
label
,
BODY_BEGIN_LABEL_FMT
,
current_funcdef_number
);
sprintf
(
label
,
BODY_BEGIN_LABEL_FMT
,
current_funcdef_number
);
...
...
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