Nerixyz wrote: > prints as `"abc"`. But libc++ and libstdc++ print it as `"abcd"` (which seems > like the more correct thing to do?)
This is too MSVC STL/libc++ specific, I think. `std::string` on MSVC's STL always has a valid size (regardless of SSO or not) and the test tests that this is respected. libc++ should also pass this test, but it currently doesn't, because the string is further up in `main.cpp` than expected (you can see that it has the expected output before `null_str`, but the check is after `null_str`). https://github.com/llvm/llvm-project/pull/147525 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits