[libstdc++ PATCH] libstdc++ debug mode (second try)
Doug Gregor
dgregor@apple.com
Thu Jul 24 17:15:00 GMT 2003
On Friday, July 18, 2003, at 09:02 AM, Doug Gregor wrote:
> This is my second attempt at the libstdc++ debug mode patch. Here is
> the capsule summary of the changes; read on for information on testing
> the patch.
Time goes by and patches get crufty. I'm attaching an updated patch; it
has a bit more checking, but nothing drastic. All changes are
extensions with the exception of the fix to the hashed associative
container invalidation semantics, so if you've started looking at the
second patch you haven't wasted your time. I can still commit the
second patch and supply these bits separately.
Here is the list of changes for this version:
Version 3:
* Checking for stream/streambuf iterators
* Checking for heap algorithms
* Checking for numeric algorithms
* Checking for queue/priority_queue
* Checking for stack
* Checking for auto_ptr
* Checking for basic_string (no safe iterators, but as many
checks as we can do without ABI changes).
* Checking for valarray
* Fixed iterator invalidation rules for hashed containers
* Added StrictWeakOrdering checks
> === To test the patch ===
> Apply this patch and also my link_name patch (see
> http://gcc.gnu.org/ml/gcc-patches/2003-07/msg01915.html). Compile with
> -D_GLIBCXX_DEBUG.
Tested on i686-pc-linux-gnu and powerpc-apple-darwin; no new
regressions when compiling in release mode, debug mode, or pedantic
debug mode. Changelog and patch attached.
Doug
-------------- next part --------------
A non-text attachment was scrubbed...
Name: debugmode.ChangeLog
Type: application/octet-stream
Size: 3957 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20030724/d02c53b0/attachment.obj>
-------------- next part --------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: debugmode-v3.patch.gz
Type: application/x-gzip
Size: 53666 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20030724/d02c53b0/attachment.bin>
More information about the Libstdc++
mailing list