[lto] Streamer reorganization 2

Diego Novillo dnovillo@google.com
Fri Jun 19 18:19:00 GMT 2009


This patch removes tracing code and stream debugging support.
The problem here is that implementation of stream debugging
imposed a prohibitive cost on the size of object files, and since
it is conditionally enabled, it quickly grew stale to the point
that it does not work anymore.

The next series of patches will significantly change the
streamer.  I will implement a different way of checking the
syntax of the bytecodes we read, so that this on-the-side
debugging information shouldn't be necessary.

No functional changes in this patch.

Tested on x86_64.


Diego.


	* lto-cgraph.c: Remove code guarded by #ifdef LTO_STREAM_DEBUGGING.
	Remove code guarded by #ifdef GLOBAL_STREAMER_TRACE.
	Remove code guarded by #ifdef LOCAL_TRACE.
	* lto-streamer-out.c: Likewise.
	* lto-streamer-in.c: Likewise.
	* lto-section-in.c: Likewise.
	* lto-tags.h: Likewise.
	* lto-opts.c: Likewise.
	* lto-section-out.c: Likewise.
	* lto-tree-tags.def: Likewise.
	* lto-streamer.h: Likewise.
	(struct lto_function_header): Remove fields
	debug_decl_index_size, debug_decl_size, debug_label_size,
	debug_ssa_names_size, debug_cfg_size, debug_main_size.
	Update all users.
	(struct lto_decl_header): Remove field debug_main_size.
	Update all users.
	(struct lto_simple_header): Likewise.
	* lto-stream-debug.c: Remove.
	Update all users.

lto/ChangeLog

	* lto.c: Remove code guarded by #ifdef LTO_STREAM_DEBUGGING.
	Remove code guarded by #ifdef GLOBAL_STREAMER_TRACE.
	Remove code guarded by #ifdef LOCAL_TRACE.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20090619-remove-stream-debugging.diff.txt.gz
Type: application/octet-stream
Size: 25712 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20090619/c36e75b2/attachment.obj>


More information about the Gcc-patches mailing list