Skip to content

Conversation

@bojle
Copy link
Contributor

@bojle bojle commented Nov 27, 2025

_Exit(3) is a fairly simple syscall wrapper whereas exit(3) calls atexit-registered functions + whole lot of stuff that require support for sync primitives.

Splitting the tests allows testing the former easily (especially for new port projects)

bojle added 11 commits November 27, 2025 20:59
Signed-off-by: Shreeyash Pandey <shreeyash335@gmail.com>
Signed-off-by: Shreeyash Pandey <shreeyash335@gmail.com>
Signed-off-by: Shreeyash Pandey <shreeyash335@gmail.com>
Signed-off-by: Shreeyash Pandey <shreeyash335@gmail.com>
_Exit(3) is a fairly simple syscall wrapper whereas exit(3) calls
atexit-registered functions + whole lot of stuff that require support for sync
primitives.

Splitting the tests allows testing the former easily (especially for new port
projects)

Signed-off-by: Shreeyash Pandey <shreeyash335@gmail.com>
Signed-off-by: Shreeyash Pandey <shreeyash335@gmail.com>
@bojle
Copy link
Contributor Author

bojle commented Nov 27, 2025

@SchrodingerZhu this would be the patch that you reverted here. I'll merge it after syscall num patch, I have commit access now. Could you take a look again?

@bojle bojle requested a review from SchrodingerZhu November 27, 2025 16:05
@bojle bojle merged commit 4769122 into llvm:main Nov 28, 2025
26 checks passed
aahrun pushed a commit to aahrun/llvm-project that referenced this pull request Dec 1, 2025
_Exit(3) is a fairly simple syscall wrapper whereas exit(3) calls
atexit-registered functions + whole lot of stuff that require support
for sync primitives.

Splitting the tests allows testing the former easily (especially for new
port projects)

---------

Signed-off-by: Shreeyash Pandey <shreeyash335@gmail.com>
augusto2112 pushed a commit to augusto2112/llvm-project that referenced this pull request Dec 3, 2025
_Exit(3) is a fairly simple syscall wrapper whereas exit(3) calls
atexit-registered functions + whole lot of stuff that require support
for sync primitives.

Splitting the tests allows testing the former easily (especially for new
port projects)

---------

Signed-off-by: Shreeyash Pandey <shreeyash335@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant