[libc-commits] [libc] [libc] Implement getcontext and setcontext for x86_64 (PR #192343)

Pavel Labath via libc-commits libc-commits at lists.llvm.org
Thu Apr 16 01:16:00 PDT 2026


================
@@ -0,0 +1,34 @@
+add_entrypoint_object(
+  getcontext
+  SRCS
+    getcontext.cpp
+  HDRS
+    ../getcontext.h
+  COMPILE_OPTIONS
+    -O3
+    -fno-omit-frame-pointer
----------------
labath wrote:

What happens if you drop these? I'm surprised this even has an impact on the naked function..

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


More information about the libc-commits mailing list