Skip to content

[ATfE] Update comment about handling cleanup for exit()#679

Merged
voltur01 merged 1 commit intoarm:arm-softwarefrom
voltur01:update_exit_comment
Jan 16, 2026
Merged

[ATfE] Update comment about handling cleanup for exit()#679
voltur01 merged 1 commit intoarm:arm-softwarefrom
voltur01:update_exit_comment

Conversation

@voltur01
Copy link
Contributor

No description provided.

@voltur01 voltur01 requested a review from a team as a code owner January 16, 2026 16:12
Copy link
Contributor

@smithp35 smithp35 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code changes LGTM.

Could you give a brief description for the commit message so we know what the update is from git log.

Something like:

The original comment had a TODO to implement cleanup like calling cxa_finalize. It turns
out that this is already done by LLVM libc's exit() so we can remove the TODO.

@voltur01
Copy link
Contributor Author

Will do, thank you!

@voltur01 voltur01 merged commit 3872774 into arm:arm-software Jan 16, 2026
2 checks passed
voltur01 added a commit to voltur01/arm-toolchain that referenced this pull request Jan 21, 2026
This removes the TODO comment to implement cleanup like calling cxa_finalize.

It was confirmed and captured in the updated comment that this is already done by LLVM libc's exit() implementation.

(cherry picked from commit 3872774)
voltur01 added a commit that referenced this pull request Jan 22, 2026
This applies the following changes to 22.x release branch:

#667
[ATfE] Use semihosting SYS_READC for stdin with llvm libc

#676
[ATfE] Remove __LLVM_LIBC__ define workaround for libcxx

#678
[ATfE] Replace call to abort with __llvm_libc_exit in libc startup code

#679
[ATfE] Update comment about handling cleanup for exit()

#683
[ATfE] Provide nohost init and exit in llvmlibc startup code
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.

2 participants