[libc-commits] [clang] [libc] [llvm] [AMDGPU] Implement variadic functions by IR lowering (PR #93362)

Jon Chesterfield via libc-commits libc-commits at lists.llvm.org
Fri May 31 11:44:21 PDT 2024


================
@@ -10,6 +10,50 @@
 
 #include "test/UnitTest/Test.h"
 
+#include "src/__support/OSUtil/io.h"
+#include "src/__support/integer_to_string.h"
+using namespace LIBC_NAMESPACE;
+
+namespace {
+
+void nl() { write_to_stderr("\n"); }
+void dump(const char *s) {
+  write_to_stderr(s);
+  nl();
+}
+
+void dump(int32_t s) {
----------------
JonChesterfield wrote:

Ah rubbish, the libc commit isn't supposed to be in this PR. That's a collection of local hacks trying to get libc to build and tell me useful things, which I've uploaded in error while patching Matt's comments. I'll work out how to remove that

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


More information about the libc-commits mailing list