[libc-commits] [libc] [libc][setjmp][x86] implement setjmp in terms of out of line asm (PR #88157)
Nick Desaulniers via libc-commits
libc-commits at lists.llvm.org
Mon Apr 22 14:17:13 PDT 2024
================
@@ -0,0 +1,22 @@
+
+// TODO: license block
+#ifndef LLVM_LIBC_SRC_SETJMP_X86_64_SETJMP_H
+#define LLVM_LIBC_SRC_SETJMP_X86_64_SETJMP_H
+
+#ifdef __ASSEMBLER__
+#define UL(x) x
+#else
+#define UL(x) x##UL
+#endif
----------------
nickdesaulniers wrote:
Will be useful again, move to assembly.h
https://github.com/llvm/llvm-project/pull/88157
More information about the libc-commits
mailing list