diff options
| author | Howard Hinnant <hhinnant@apple.com> | 2013-07-29 19:05:47 +0000 |
|---|---|---|
| committer | Howard Hinnant <hhinnant@apple.com> | 2013-07-29 19:05:47 +0000 |
| commit | e5c13decbe4c6109719cd6cdd68140576cb4671f (patch) | |
| tree | fbae6e93a0fee2bbaf620d506bdaa6ea78bd3ca5 /libcxx/www/debug_mode.html | |
| parent | 16e9dd4dd24a0d55a815937ebe66ead9ef3589d7 (diff) | |
| download | bcm5719-llvm-e5c13decbe4c6109719cd6cdd68140576cb4671f.tar.gz bcm5719-llvm-e5c13decbe4c6109719cd6cdd68140576cb4671f.zip | |
Debug mode for unordered_multiset. The exercise spotted a few places I had missed on unordered_set, so I picked those up as well.
There are actually two debug modes:
1. -D_LIBCPP_DEBUG2 or -D_LIBCPP_DEBUG2=1
This is a relatively expensive debug mode, but very thorough. This is normally what you want to debug with, but may turn O(1) operations into O(N) operations.
2. -D_LIBCPP_DEBUG2=0
This is "debug lite." Only preconditions that can be checked with O(1) expense are checked. For example range checking on an indexing operation. But not iterator validity.
llvm-svn: 187369
Diffstat (limited to 'libcxx/www/debug_mode.html')
| -rw-r--r-- | libcxx/www/debug_mode.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/www/debug_mode.html b/libcxx/www/debug_mode.html index ba491b34b61..6a773171a57 100644 --- a/libcxx/www/debug_mode.html +++ b/libcxx/www/debug_mode.html @@ -41,7 +41,7 @@ record which parts of libc++ have debug mode support. <code><unordered_set></code> </p> </td> -<td><!-- ✓ --></td> +<td> ✓ </td> </tr> <tr> |

