OK.
I'm working on adding the following flags to the debug builds:
-D_GLIBCXX_SANITIZE_VECTOR -D_GLIBCXX_DEBUG -fsanitize=address
The GLIBCXX_DEBUG define gets the assertions as well as other debugging info for libstdc++. Compiling this way exposes quite a few shortcuts, so will take a while to sort out.
OK.
I'm working on adding the following flags to the debug builds:
-D_GLIBCXX_ SANITIZE_ VECTOR -D_GLIBCXX_DEBUG -fsanitize=address
The GLIBCXX_DEBUG define gets the assertions as well as other debugging info for libstdc++. Compiling this way exposes quite a few shortcuts, so will take a while to sort out.