[llvm] [llvm-strings] Use small buffer instead of reading whole file (PR #163073)
Harald van Dijk via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 25 01:07:44 PDT 2026
================
@@ -51,57 +43,28 @@
## before the chunk start and one after its end. The string is printed
## intact, once. The expected output is generated rather than written as a
## CHECK line because it is a chunk long.
-# RUN: %python %s 16383 S M at 16384 E 4 > %t.6
-# RUN: %python %s --line S M at 16384 E > %t.6.expected
+# RUN: printf "%16383sS%.16384dE%4s" | tr " " "\0" > %t.6
+# RUN: printf "S%.16384dE\n" > %t.6.expected
----------------
hvdijk wrote:
Sure, a comment to save someone else having to debug that sounds like a good idea to me.
https://github.com/llvm/llvm-project/pull/163073
More information about the llvm-commits
mailing list