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

STANDALONE_WASM: separate crt1 for commands and reactors #11167

Merged
merged 3 commits into from
May 18, 2020
Merged

Conversation

sbc100
Copy link
Collaborator

@sbc100 sbc100 commented May 15, 2020

Unlike without STANDALONE_WASM users are expected to either define
a main or explicitly opt out.
This change and paves to way to moving to llvm's new main mangling
method: https://reviews.llvm.org/D70700

See: #9640

@@ -160,7 +160,7 @@ var LibraryManager = {
}

if (BOOTSTRAPPING_STRUCT_INFO) {
libraries = ['library_formatString.js'];
libraries = ['library_formatString.js', 'library_stack_trace.js'];
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This change makes it way easier to debug issues with gen_struct_info.. without this calls to aboit() end up with stack overload due to missing stackTrace.

@sbc100 sbc100 force-pushed the standalone_main branch from b973031 to cff329e Compare May 16, 2020 04:41
@sbc100 sbc100 requested a review from kripken May 16, 2020 04:43
sbc100 added 3 commits May 18, 2020 09:19
Unlike without STANDALONE_WASM users are expected to either define
a main or explicitly opt out.
This change and paves to way to moving to llvm's new main mangling
method: https://reviews.llvm.org/D70700

Fixes:  #9640
@sbc100 sbc100 force-pushed the standalone_main branch from cff329e to 54f8ec1 Compare May 18, 2020 16:43
@sbc100 sbc100 merged commit fcfa4d8 into master May 18, 2020
@sbc100 sbc100 deleted the standalone_main branch May 18, 2020 17:38
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