Zero-length strings are valid export names in WebAssembly, so allow
users to specify them.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D71793
[WebAssembly] Support wasm exports with zero-length names. ClosedPublic Authored by sunfish on Dec 20 2019, 9:49 PM.
Details Summary Zero-length strings are valid export names in WebAssembly, so allow
Diff Detail
Event Timelinesbc100 added inline comments. This revision is now accepted and ready to land.Jan 5 2020, 9:10 AM sunfish added inline comments. Closed by commit rG66bfbedbdfb9: [WebAssembly] Support wasm exports with zero-length names. (authored by • sunfishcode). · Explain WhyMar 26 2020, 4:52 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 234999 lld/test/wasm/export-name.ll
lld/wasm/InputChunks.h
lld/wasm/Writer.cpp
llvm/include/llvm/BinaryFormat/Wasm.h
|
Is there a shorter way to write that? Does just {} work?