Skip to content

[libc] Enable quick_exit routines on the GPU #102242

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 7, 2024
Merged

Conversation

jhuber6
Copy link
Contributor

@jhuber6 jhuber6 commented Aug 6, 2024

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

Summary:
We should be able to use these on the GPU just like exit.
@llvmbot
Copy link
Member

llvmbot commented Aug 6, 2024

@llvm/pr-subscribers-libc

Author: Joseph Huber (jhuber6)

Changes

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


Full diff: https://github.com/llvm/llvm-project/pull/102242.diff

1 Files Affected:

  • (modified) libc/config/gpu/entrypoints.txt (+2)
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

@jhuber6 jhuber6 merged commit 3645ca5 into llvm:main Aug 7, 2024
8 checks passed
@jhuber6 jhuber6 deleted the quick_exit branch September 23, 2024 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants