Skip to content

Conversation

hctim
Copy link
Collaborator

@hctim hctim commented Sep 18, 2023

This warning needs to be disabled. The format string is deliberately too
large.

This warning needs to be disabled. The format string is deliberately too
large.
@llvmbot
Copy link
Member

llvmbot commented Sep 18, 2023

@llvm/pr-subscribers-compiler-rt-sanitizer

Changes

This warning needs to be disabled. The format string is deliberately too
large.


Full diff: https://github.com/llvm/llvm-project/pull/66695.diff

1 Files Affected:

  • (modified) compiler-rt/test/asan/TestCases/printf-5.c (+1-1)
diff --git a/compiler-rt/test/asan/TestCases/printf-5.c b/compiler-rt/test/asan/TestCases/printf-5.c
index eef5223e4e8da0f..19ff182acce6702 100644
--- a/compiler-rt/test/asan/TestCases/printf-5.c
+++ b/compiler-rt/test/asan/TestCases/printf-5.c
@@ -1,4 +1,4 @@
-// RUN: %clang_asan -O2 %s -o %t
+// RUN: %clang_asan -Wno-excess-initializers -O2 %s -o %t
 // We need replace_intrin=0 to avoid reporting errors in memcpy.
 // RUN: %env_asan_opts=replace_intrin=0:check_printf=1 not %run %t 2>&1 | FileCheck --check-prefix=CHECK-ON %s
 // RUN: %env_asan_opts=replace_intrin=0:check_printf=0 %run %t 2>&1 | FileCheck --check-prefix=CHECK-OFF %s

@hctim hctim merged commit 6b7c402 into llvm:main Sep 18, 2023
@hctim hctim deleted the asan/add-wno branch September 18, 2023 21:47
ZijunZhaoCCK pushed a commit to ZijunZhaoCCK/llvm-project that referenced this pull request Sep 19, 2023
This warning needs to be disabled. The format string is deliberately too
large.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants