Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
libcxx
/
8a1fc89cf904e8a8f02bf5409c36f82593b21070
/
include
/
__debug
499cea1
Debug mode for string. This commit also marks the first time libc++ debug-mode has found a bug (found one in regex). Had to play with extern templates a bit to get this to work since string is heavily used within libc++.dylib.
by Howard Hinnant
· 11 years ago
824c199
debug mode for unordered_map. Also picked up a missing check and test in unordered_multimap. This wraps up debug mode for the unordered containers.
by Howard Hinnant
· 11 years ago
8b00e6c
Ok, 3 major changes for debug mode in one commit:
by Howard Hinnant
· 11 years ago
f5f4684
Debug mode: learning to crawl. I need to set up some tests that actually test that the debug mode is working, but that won't cause problems when debug mode isn't on. This is my first prototype of such a test. It should call std::terminate() because it's comparing iterators from different containers. And std::terminate() is rigged up to exit normally. If debug mode fails, and doesn't call terminate, then the program asserts. The test is a no-op if _LIBCPP_DEBUG2 is not defined or is defined to be 0.
by Howard Hinnant
· 12 years ago
83eade6
No functionality change at this time. I've split _LIBCPP_VISIBLE up into two flags: _LIBCPP_TYPE_VIS and _LIBCPP_FUNC_VIS. This is in preparation for taking advantage of clang's new __type_visibility__ attribute.
by Howard Hinnant
· 12 years ago
9996844
Further macro protection by replacing _[A-Z] with _[A-Z]p
by Howard Hinnant
· 13 years ago
1c3ec6d
Another installment on debug mode. This addresses list. However this should be considered a temporary state. The API of the debug database and how vector and list use it, is unsatisfactory at the moment. It is both inefficient and overly verbose. I wanted to get this functionality checked in though. In the next day or so I'll refactor what is there in an attempt to streamline things.
by Howard Hinnant
· 13 years ago
7608b4a
Doug Gregor pointed out some problems with debug mode enabled in one TU and not another. This patch helps detect those situations and offers improved error messages to help get debug mode enabled in more TU's when it is absolutely necessary to do so. Thanks Doug.
by Howard Hinnant
· 13 years ago
abe2628
Create multilevel debug mode
by Howard Hinnant
· 13 years ago
7a563db
Initial checkin for debug mode (version 2)
by Howard Hinnant
· 13 years ago