[libcxx-commits] [libcxx] [ASan][libc++] Correct (explicit) annotation size (PR #79292)
via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Jan 25 08:35:55 PST 2024
================
@@ -44,6 +45,14 @@ TEST_CONSTEXPR_CXX20 void test_string() {
test(S("12345678901234567890"), "", 0, S("12345678901234567890"));
test(S("12345678901234567890"), "12345", 5, S("1234567890123456789012345"));
test(S("12345678901234567890"), "12345678901234567890", 20, S("1234567890123456789012345678901234567890"));
+
+ // Starting from long string (no SSO)
+ test(S("1234567890123456789012345678901234567890"), "", 0, S("1234567890123456789012345678901234567890"));
----------------
AdvenamTacet wrote:
I guess, I could create two separate PRs, but those tests are related (test this very function I modify).
https://github.com/llvm/llvm-project/pull/79292
More information about the libcxx-commits
mailing list