Skip to content

Merge add_startup_object cmake functions #133156

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

Open
michaelrj-google opened this issue Mar 26, 2025 · 1 comment
Open

Merge add_startup_object cmake functions #133156

michaelrj-google opened this issue Mar 26, 2025 · 1 comment
Labels
cmake Build system in general and CMake in particular libc

Comments

@michaelrj-google
Copy link
Contributor

Currently each OS target defines its own add_startup_object function (e.g. linux:

function(add_startup_object name)
)
We should merge these into one function and put it alongside add_entrypoint_object etc. in /cmake/modules.

@llvmbot
Copy link
Member

llvmbot commented Mar 26, 2025

@llvm/issue-subscribers-libc

Author: Michael Jones (michaelrj-google)

Currently each OS target defines its own `add_startup_object` function (e.g. linux: https://github.com/llvm/llvm-project/blob/51bceb46f8eeb7c3d060387be315ca41855933c2/libc/startup/linux/CMakeLists.txt#L53) We should merge these into one function and put it alongside `add_entrypoint_object` etc. in `/cmake/modules`.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cmake Build system in general and CMake in particular libc
Projects
None yet
Development

No branches or pull requests

3 participants