This is an archive of the discontinued LLVM Phabricator instance.

[WebAssembly] Update format of 'names' section.
ClosedPublic

Authored by sbc100 on Mar 14 2017, 12:04 PM.

Details

Summary

This change updates to the format of the 'names' sectionin the
generated wasm binary to match the latest changesto the design
and 'wabt'.

Diff Detail

Repository
rL LLVM

Event Timeline

sbc100 created this revision.Mar 14 2017, 12:04 PM
sbc100 retitled this revision from [WebAssembly] Update format of 'names' section This change updates to the format of the 'names' section in the generated wasm binary to match the latest changes to the design and 'wabt'. to [WebAssembly] Update format of 'names' sectionThis change updates to the format of the 'names' sectionin the generated wasm binary to match the latest changesto the design and 'wabt'..Mar 14 2017, 12:05 PM
sbc100 added a reviewer: sunfish.
sbc100 updated this revision to Diff 91771.Mar 14 2017, 2:32 PM
  • Merge remote-tracking branch 'origin/master' into new_names_section
sbc100 retitled this revision from [WebAssembly] Update format of 'names' sectionThis change updates to the format of the 'names' sectionin the generated wasm binary to match the latest changesto the design and 'wabt'. to [WebAssembly] Update format of 'names' section..Mar 14 2017, 2:36 PM
sbc100 edited the summary of this revision. (Show Details)
sunfish accepted this revision.Mar 15 2017, 8:51 AM

Looks good!

lib/MC/WasmObjectWriter.cpp
998 ↗(On Diff #91771)

Here and below, prefer preincrement.

This revision is now accepted and ready to land.Mar 15 2017, 8:51 AM
sbc100 updated this revision to Diff 91898.Mar 15 2017, 10:31 AM
  • prefer preincrement
This revision was automatically updated to reflect the committed changes.