[libc-commits] [libc] [libc] Add printf error handling (with fixes #2) (PR #166517)

Marcell Leleszi via libc-commits libc-commits at lists.llvm.org
Wed Nov 5 10:30:31 PST 2025


================
@@ -83,13 +83,16 @@ TEST(LlvmLibcFPrintfTest, WriteToFile) {
   written =
       LIBC_NAMESPACE::fprintf(file, "Writing to a read only file should fail.");
   EXPECT_LT(written, 0);
+#if !defined(__AMDGPU__) && !defined(__NVPTX__)
----------------
mleleszi wrote:

Good idea, opened an other PR for that so this one doesn't get too big with somewhat unrelated stuff
https://github.com/llvm/llvm-project/pull/166606

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


More information about the libc-commits mailing list