Skip to content

Don't minify __stack_pointer import#2219

Merged
sbc100 merged 1 commit intomasterfrom
stack_pointer_no_minify
Jul 11, 2019
Merged

Don't minify __stack_pointer import#2219
sbc100 merged 1 commit intomasterfrom
stack_pointer_no_minify

Conversation

@sbc100
Copy link
Copy Markdown
Member

@sbc100 sbc100 commented Jul 11, 2019

This is core import like __memory_base and __table_base.

This is core import like __memory_base and __table_base.
@sbc100 sbc100 requested a review from kripken July 11, 2019 14:36
auto process = [&](Name& name) {
// do not minifiy special imports, they must always exist
if (name == MEMORY_BASE || name == TABLE_BASE) {
if (name == MEMORY_BASE || name == TABLE_BASE || name == STACK_POINTER) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

are these "ABI imports" documented in tool-conventions? if so a link to there might be nice.

for the first two I think the dynamic linking doc there mentions them.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I don't know .. all i know is that if I allow minification of __stack_pointer I get a test failure. To be honest I'm not sure why these can't be minified too.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Oh you are correct this should be documented in https://github.com/WebAssembly/tool-conventions/blob/master/DynamicLinking.md but isn't yet.

@sbc100
Copy link
Copy Markdown
Member Author

sbc100 commented Jul 11, 2019

Any idea why binaryen travis checks take so long? It seems like we should be able to get good test coverage in less than an hour.

@sbc100 sbc100 merged commit 1a9b0e1 into master Jul 11, 2019
@sbc100 sbc100 deleted the stack_pointer_no_minify branch July 11, 2019 15:13
@kripken
Copy link
Copy Markdown
Member

kripken commented Jul 11, 2019

Binaryen's travis is shared with all other WebAssembly/ jobs, and the free tier is just not great when there is a lot of activity I think...

sbc100 added a commit to emscripten-core/emscripten that referenced this pull request Jul 11, 2019
sbc100 added a commit to emscripten-core/emscripten that referenced this pull request Jul 11, 2019
belraquib pushed a commit to belraquib/emscripten that referenced this pull request Dec 23, 2020
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