[libc-commits] [libc] Create a poor-developer's msan for libc wide read functions. (PR #170586)

Michael Jones via libc-commits libc-commits at lists.llvm.org
Wed Jan 14 16:49:24 PST 2026


================
@@ -110,5 +110,20 @@ add_libc_test(
     libc.src.strings.strncasecmp_l
 )
 
+add_libc_test(
+  wide_read_memory_test
+  SUITE
+    libc-strings-tests
+  SRCS
+    wide_read_memory_test.cpp
+  DEPENDS
+    libc.src.string.strlen
----------------
michaelrj-google wrote:

this test uses `internal::string_length` instead of `strlen` so it should depend on the target that provides that function directly.

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


More information about the libc-commits mailing list