HomePhabricator

[WebAssembly] Emit the DataCount section when bulk memory is enabled

Description

[WebAssembly] Emit the DataCount section when bulk memory is enabled

Summary:
The DataCount section is necessary for the bulk memory operations
memory.init and data.drop to validate, but it is not recognized by
engines that do not support bulk memory, so emit the section only if
bulk-memory is enabled.

Reviewers: aheejin, dschuff, sbc100

Subscribers: jgravelle-google, sunfish, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D60637

Details

Committed
tlivelyApr 19 2019, 4:40 PM
Differential Revision
D60637: [WebAssembly] Emit the DataCount section when bulk memory is enabled
Branches
Unknown
Tags
Unknown