Oops, that's a silly bug! I found it just by accident while trying to expand out testcases for imported symbols
Details
Details
Diff Detail
Diff Detail
- Repository
- rLLD LLVM Linker
Event Timeline
wasm/Writer.cpp | ||
---|---|---|
664 | Do the tests now check for this? (i.e. if you revert this part of the change will the test fail?) Maybe be worth splitting this off as a separate bug fix? |
wasm/Writer.cpp | ||
---|---|---|
664 | Yes, the test change that's attached exercises the case where some globals and functions are interleaved in the import section. The attached test change fails without this fix, hence bundling them together. Happy to land in two commits though - whatever you prefer. |
Do the tests now check for this? (i.e. if you revert this part of the change will the test fail?)
Maybe be worth splitting this off as a separate bug fix?