This patch implements the exit function on the GPU. This required
breaking the entrypoints calling eachother on linux since this doesn't
work with a non-aliased target. This is only partial support because
full support requires a malloc / free implementation for the exit
callbacks array.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
libc/src/stdlib/gpu/_Exit.cpp | ||
---|---|---|
1 ↗ | (On Diff #517650) | We can unify the _Exit implementation now as it uses the OSUtil abstraction. Move this to the top-level directory and remove the linux/_Exit.cpp implementation. |
libc/config/gpu/entrypoints.txt | ||
---|---|---|
70 | Why are they separated out like this? |
libc/config/gpu/entrypoints.txt | ||
---|---|---|
70 | It was like that in the x64 one so I just copied it. |
Why are they separated out like this?