[libc-commits] [libc] 3645ca5 - [libc] Enable quick_exit routines on the GPU (#102242)

via libc-commits libc-commits at lists.llvm.org
Wed Aug 7 06:01:15 PDT 2024


Author: Joseph Huber
Date: 2024-08-07T08:01:11-05:00
New Revision: 3645ca58f4529bf7d0aefb6e6872f0e9cbe22fa4

URL: https://github.com/llvm/llvm-project/commit/3645ca58f4529bf7d0aefb6e6872f0e9cbe22fa4
DIFF: https://github.com/llvm/llvm-project/commit/3645ca58f4529bf7d0aefb6e6872f0e9cbe22fa4.diff

LOG: [libc] Enable quick_exit routines on the GPU (#102242)

Summary:
We should be able to use these on the GPU just like exit.

Added: 
    

Modified: 
    libc/config/gpu/entrypoints.txt

Removed: 
    


################################################################################
diff  --git a/libc/config/gpu/entrypoints.txt b/libc/config/gpu/entrypoints.txt
index c70dc08490cef6..e1a16a3b688789 100644
--- a/libc/config/gpu/entrypoints.txt
+++ b/libc/config/gpu/entrypoints.txt
@@ -165,6 +165,8 @@ set(TARGET_LIBC_ENTRYPOINTS
     libc.src.stdlib.strtoll
     libc.src.stdlib.strtoul
     libc.src.stdlib.strtoull
+    libc.src.stdlib.at_quick_exit
+    libc.src.stdlib.quick_exit
 
     # TODO: Implement these correctly
     libc.src.stdlib.aligned_alloc


        


More information about the libc-commits mailing list