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
2b5f2501
Commit
2b5f2501
authored
Jan 29, 2001
by
Richard Henderson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* tree.h (TYPE_STUB_DECL): Add documentation.
From-SVN: r39340
parent
1270a9b3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletions
+12
-1
gcc/ChangeLog
+5
-1
gcc/tree.h
+7
-0
No files found.
gcc/ChangeLog
View file @
2b5f2501
2000-11-29 Laurynas Biveinis <lauras@softhome.net>
2001-11-29 Tim Josling <tej@melbpc.org.au>
* tree.h (TYPE_STUB_DECL): Add documentation.
2001-11-29 Laurynas Biveinis <lauras@softhome.net>
* sdbout.c (sdbout_one_type): Skip types with indeterminate size.
(sdbout_field_types): Likwise. Fix use of host_integerp.
...
...
gcc/tree.h
View file @
2b5f2501
...
...
@@ -939,6 +939,13 @@ struct tree_block
#define TYPE_ALIGN_UNIT(NODE) \
(TYPE_ALIGN (NODE) / BITS_PER_UNIT)
/* If your language allows you to declare types, and you want debug info
for them, then you need to generate corresponding TYPE_DECL nodes.
These "stub" TYPE_DECL nodes have no name, and simply point at the
type node. You then set the TYPE_STUB_DECL field of the type node
to point back at the TYPE_DECL node. This allows the debug routines
to know that the two nodes represent the same type, so that we only
get one debug info record for them. */
#define TYPE_STUB_DECL(NODE) (TREE_CHAIN (NODE))
/* In a RECORD_TYPE, UNION_TYPE or QUAL_UNION_TYPE, it means the type
...
...
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