Commit 3bc6a13b by Mark Mitchell Committed by Mark Mitchell

dump.c (dequeue_and_dump): Dump DECL_EXTERNAL.

	* dump.c (dequeue_and_dump): Dump DECL_EXTERNAL.
	* ir.texi: Document DECL_EXTERNAL.

From-SVN: r29710
parent e9e7f181
1999-09-29 Mark Mitchell <mark@codesourcery.com>
* dump.c (dequeue_and_dump): Dump DECL_EXTERNAL.
* ir.texi: Document DECL_EXTERNAL.
* dump.c (dequeue_and_dump): Improve support for dumping THUNK_DECLs.
* ir.texi: Document THUNK_DECLs.
......
......@@ -607,6 +607,8 @@ dequeue_and_dump (di)
dump_child ("mngl", DECL_ASSEMBLER_NAME (t));
dump_child ("args", DECL_ARGUMENTS (t));
}
if (DECL_EXTERNAL (t))
dump_string (di, "undefined");
if (TREE_PUBLIC (t))
dump_string(di, "extern");
else
......
......@@ -739,6 +739,7 @@ FIXME: Talk about @code{TYPE_NONCOPIED_PARTS}.
@findex DECL_INITIAL
@findex DECL_SIZE
@findex DECL_ALIGN
@findex DECL_EXTERNAL
This chapter covers the various kinds of declarations that appear in the
internal representation, except for declarations of functions
......@@ -864,7 +865,7 @@ then jumps to another function. When the jumped-to function returns,
control is transferred directly to the caller, without returning to the
thunk. The first parameter to the thunk is always the @code{this}
pointer; the thunk should add @code{THUNK_DELTA} to this value. (The
@code{THUNK_DECL} is an @code{int}, not an @code{INTEGER_CST}.) Then,
@code{THUNK_DELTA} is an @code{int}, not an @code{INTEGER_CST}.) Then,
the thunk should jump to the location given by @code{DECL_INITIAL}; this
will always be an expression for the address of a function.
......@@ -970,6 +971,9 @@ platform, it is the responsibility of the back-end to perform those
modifications. (Of course, the back-end should not modify
@code{DECL_ASSEMBLER_NAME} itself.)
@item DECL_EXTERNAL
This predicate holds if the function is undefined.
@item TREE_PUBLIC
This predicate holds if the function has external linkage.
......@@ -1023,8 +1027,6 @@ the function.
@end ftable
FIXME: Explain about constructor try-catch blocks.
@c ---------------------------------------------------------------------
@c Function Bodies
@c ---------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment