This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[lto] Streamer reorganization 2


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.

Attachment: 20090619-remove-stream-debugging.diff.txt.gz
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]