Skip to content
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

Add support for __main_argc_argv. #152

Merged
merged 1 commit into from
Feb 27, 2020
Merged

Add support for __main_argc_argv. #152

merged 1 commit into from
Feb 27, 2020

Conversation

sunfishcode
Copy link
Member

This adds support for the __main_argc_argv change, while preserving
compatibility with __original_main. This is needed by the LTO build
because the __original_main hack works in LLVM codegen, which is after
LTO. The __main_argc_argv change is implemented in clang, which makes
it properly visible to LTO.

This adds support for the `__main_argc_argv` change, while preserving
compatibility with `__original_main`. This is needed by the LTO build
because the `__original_main` hack works in LLVM codegen, which is after
LTO. The `__main_argc_argv` change is implemented in clang, which makes
it properly visible to LTO.
@sunfishcode
Copy link
Member Author

With WebAssembly/tool-conventions#134 and https://reviews.llvm.org/D70700 merged, it's time to merge this too! 🏄

@sunfishcode sunfishcode merged commit d9066a8 into master Feb 27, 2020
@sunfishcode sunfishcode deleted the main-changes branch February 27, 2020 21:09
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