Skip to content

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.

3 participants