[libstdc++ PATCH] libstdc++ debug mode (fourth try)
Doug Gregor
dgregor@apple.com
Tue Aug 5 01:39:00 GMT 2003
I've attached the latest version of the libstdc++ debug mode. Here are
the changes for version 4:
Version 4:
* Rewritten error message output (doesn't use IOStreams now).
* Testcases moved into new testcase structure.
* Added design documentation.
* Move debug mode support code into namespace __gnu_debug.
* Avoid using "iterator" as a variable name.
* Normalize names of some of the checks (e.g., __check_singular).
* Added linker map bits.
I believe it incorporates all the changes I've been asked to make.
Tested on i686-pc-linux-gnu and powerpc-apple-darwin; no regressions in
either debug or release mode. ChangeLog attached, along with the
libstdc++ debug mode patch history in debugmode.txt.
This patch requires the link_name extension to the C++ front end,
available here:
http://gcc.gnu.org/ml/gcc-patches/2003-07/msg02413.html
Doug
On Monday, August 4, 2003, at 2:49PM, Benjamin Kosnik wrote:
>
>> It can :) Trying to unify debug/dbg_foo.h and debug/foo means that the
>> result won't even have proper #include guards, because we have to
>> allow
>> it to be #include'd twice in a program (once circuitously through
>> <foo>
>> and once through <debug/foo>).
>
> ... then do everything except for this, and send me the patch.
>
> Thanks!
>
> -benjamin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: debugmode-v4.patch.gz
Type: application/x-gzip
Size: 73741 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20030805/c161b3aa/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: debugmode-v4.ChangeLog
Type: application/octet-stream
Size: 4889 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20030805/c161b3aa/attachment.obj>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: debugmode.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20030805/c161b3aa/attachment.txt>
More information about the Gcc-patches
mailing list