[libcxx-commits] [libcxx] [libc++] Default the allocator argument for most string constructors (PR #169901)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Tue Dec 16 03:36:38 PST 2025


philnik777 wrote:

> We use RelWithDebInfo for the library, which means `-O2 -g` but when I look at the test's command, I don't see any optimisation flags which implies `-O0`. I'll see if I can change that.

You should be able to set `LIBCXX_TEST_PARAMS` to `optimization=speed` (i.e. `-O3`) or `optimization=size` (i.e. `-Os`). We can add another value there, though I think `optimization=size` should be fine for this use-case.

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


More information about the libcxx-commits mailing list