dblaikie added a comment. In https://reviews.llvm.org/D47492#1120599, @jankratochvil wrote:
> FYI I have filed it for libstdc++ but I did not really understand their > reaction: Bug 86013 - std::vector::shrink_to_fit() could sometimes use > realloc() <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86013> Happy to help explain it - which part(s) are you having a bit of trouble with? It seems like the main one is that the implementation can't be sure that malloc was used to allocate the memory - since the global allocation function can be replaced & there's no convenient way to detect that. Repository: rL LLVM https://reviews.llvm.org/D47492 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits