[llvm] [lit] Add stream-injectable run() core to builtin cat (PR #204711)
Prasoon Kumar via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 29 18:20:32 PDT 2026
================
@@ -26,7 +27,14 @@ def convertToCaretAndMNotation(data):
return newdata.getvalue().encode()
-def main(argv):
+def run(argv, stdin, stdout, stderr, cwd):
+ """In-process cat
+
+ stdin / stdout / stderr are binary streams and cwd is the
----------------
prasoon054 wrote:
Done!
https://github.com/llvm/llvm-project/pull/204711
More information about the llvm-commits
mailing list