Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Read the names section first (#7074) | Thomas Lively | 2024-11-13 | 1 | -4/+5 |
| | | | | | | | | | Rather than back-patching names when we get to the names section in the binary reader, skip ahead to read the names section before anything else so we can use the final names right away. This is a prerequisite for using IRBuilder in the binary reader. The only functional change is that we now allow empty local names. Empty names are perfectly valid. | ||||
* | Warn about and ignore empty local/param names in name section (#4426) | Alon Zakai | 2022-01-07 | 1 | -0/+14 |
Fixes the crash in #4418 Also replace the .at() there with better logic to handle imported functions. See WebAssembly/wabt#1799 for details on why wabt sometimes emits this. |