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

LLVM support of the latest proposal #296

Open
yamt opened this issue Feb 16, 2024 · 2 comments
Open

LLVM support of the latest proposal #296

yamt opened this issue Feb 16, 2024 · 2 comments

Comments

@yamt
Copy link
Contributor

yamt commented Feb 16, 2024

is anyone working on updating llvm support to the latest proposal? (try_table/exnref style instructions)

@aheejin
Copy link
Member

aheejin commented Feb 16, 2024

I'm planning to work on it. In the meantime, we provide a translator in Binaryen that translates old binaries to the new ones. You can use it via wasm-opt --experimental-new-eh. This runs all other passes you specified and runs the translator at the end. This tool is new and still not very well tested, so it may have bugs. I'm in the process of testing it with larger programs. https://github.com/WebAssembly/binaryen/blob/feb8f24128c0c3bd53862b2f39acc5116f8ae87e/src/tools/wasm-opt.cpp#L245

@mf-RDP
Copy link

mf-RDP commented Jul 20, 2024

@aheejin, please, urgently consider leaving the "old" (version 2) EH within LLVM once you implement the new one (like --wasm-native-exceptions-v2).

The "old" proposal was very good. I did fully implement it - and for sure it's not only me - and it would be a shame if all this work just will disappear at some point.

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

No branches or pull requests

3 participants