[libcxx-commits] [libcxx] [libc++] Fix gdb pretty printer for strings (PR #176882)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Tue Feb 3 02:19:10 PST 2026


================
@@ -172,6 +172,19 @@ template <typename T> class UncompressibleAllocator : public std::allocator<T> {
   };
 };
 
+// Helper function to check pretty printing of short strings returned by
+// debugger-called functions.
+std::string return_short_string() {
----------------
philnik777 wrote:

Could you also add tests for e.g. `wchar_t`?

https://github.com/llvm/llvm-project/pull/176882


More information about the libcxx-commits mailing list