[libc-commits] [libc] [libc][setjmp] fix setjmp test via naked fn attr (PR #88054)

James Y Knight via libc-commits libc-commits at lists.llvm.org
Thu Oct 3 11:55:27 PDT 2024


================
@@ -8,12 +8,8 @@ add_entrypoint_object(
     libc.include.setjmp
   COMPILE_OPTIONS
     -O3
-    -fno-omit-frame-pointer
-    # TODO: Remove once one of these lands:
-    # https://github.com/llvm/llvm-project/pull/87837
-    # https://github.com/llvm/llvm-project/pull/88054
-    # https://github.com/llvm/llvm-project/pull/88157
-    -ftrivial-auto-var-init=uninitialized
+    -fomit-frame-pointer
+    -momit-leaf-frame-pointer
----------------
jyknight wrote:

Does this even do anything given the only function in there is a naked function?

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


More information about the libc-commits mailing list