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
a5d0ce89
Commit
a5d0ce89
authored
Jul 25, 2011
by
Richard Henderson
Committed by
Richard Henderson
Jul 25, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dwarf2cfi: Add debug_cfi_row.
From-SVN: r176771
parent
c344a866
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
0 deletions
+36
-0
gcc/ChangeLog
+4
-0
gcc/dwarf2cfi.c
+32
-0
No files found.
gcc/ChangeLog
View file @
a5d0ce89
2011-07-25 Richard Henderson <rth@redhat.com>
* dwarf2cfi.c (dump_cfi_row, debug_cfi_row): New.
2011-07-25 Joern Rennecke <joern.rennecke@embecosm.com>
* genattr.c (write_upcase, gen_attr <enum definition writing>):
...
...
gcc/dwarf2cfi.c
View file @
a5d0ce89
...
...
@@ -3314,6 +3314,38 @@ dwarf2out_emit_cfi (dw_cfi_ref cfi)
if
(
dwarf2out_do_cfi_asm
())
output_cfi_directive
(
asm_out_file
,
cfi
);
}
static
void
dump_cfi_row
(
FILE
*
f
,
dw_cfi_row
*
row
)
{
dw_cfi_ref
cfi
;
unsigned
i
;
cfi
=
row
->
cfa_cfi
;
if
(
!
cfi
)
{
dw_cfa_location
dummy
;
memset
(
&
dummy
,
0
,
sizeof
(
dummy
));
dummy
.
reg
=
INVALID_REGNUM
;
cfi
=
def_cfa_0
(
&
dummy
,
&
row
->
cfa
);
}
output_cfi_directive
(
f
,
cfi
);
FOR_EACH_VEC_ELT
(
dw_cfi_ref
,
row
->
reg_save
,
i
,
cfi
)
if
(
cfi
)
output_cfi_directive
(
f
,
cfi
);
fprintf
(
f
,
"
\t
.cfi_GNU_args_size "
HOST_WIDE_INT_PRINT_DEC
"
\n
"
,
row
->
args_size
);
}
void
debug_cfi_row
(
dw_cfi_row
*
row
);
void
debug_cfi_row
(
dw_cfi_row
*
row
)
{
dump_cfi_row
(
stderr
,
row
);
}
/* Save the result of dwarf2out_do_frame across PCH.
...
...
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