-
Notifications
You must be signed in to change notification settings - Fork 747
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
Asyncify lists does not work correctly with dots #5271
Comments
Hmm, that could be a problem in wasm-ld where it demangles names into the names section, or it could be a problem in binaryen where it reads it. Can you look in the names section in the wasm binary (before binaryen runs) and see what appears there? |
(I mean, to look with a hex editor - |
I have this in wdosbox-x.wasm:
|
Looks correct, thanks... ok, I dug into this now since it's clear it's either an emscripten or a binaryen issue. Turns out it's on the emscripten side, emscripten-core/emscripten#13477 The function It looks like cc @juj - what do you think the best solution is? One idea might be to not run |
Ouch, ellipsis never occurred to me, I thought I was taking three characters that were all never used in the LLVM name mangling. Maybe it would be good idea not to unmangle if the input does come from a response file. That would lose the kind of "interchangeability", but given that the problem is a bit exotic shell expansion in the first place, maybe that would be ok. Another way might be to look for another character than '.' to replace with a space, e.g. does |
Good point about interchangeability... yeah, special behavior for response files seems risky. A breaking change might be an option. I hope it would affect few people while it unbreaks this. Another option might be to special-case |
… file format for asyncify lists
… file format for asyncify lists Co-authored-by: Alon Zakai <alonzakai@gmail.com>
…mbly#6051) If there are newlines in the list, then we split using them in a simple manner (that does not take into account nesting of any other delimiters). Fixes WebAssembly#6047 Fixes WebAssembly#5271
Hi. I am using asyncify for jsdos project. And I found that
...
is not handled correctly, for example I have function:When I compile I have warning:
As you can see dots are replaced with spaces:
The text was updated successfully, but these errors were encountered: