HomePhabricator

[WebAssembly] make wasm-ld --verbose show data section startVA and name

Description

[WebAssembly] make wasm-ld --verbose show data section startVA and name

Summary:
Make wasm-ld --verbose show data section start virtual address and name
as well, instead of just showing the size. This makes it much easier to
track which global variable is in which address when used in conjunction
with --no-merge-data-sections.

Patch by Guanzhong Chen

Reviewers: tlively, aheejin, sbc100, ruiu

Reviewed By: sbc100, ruiu

Subscribers: ruiu, dschuff, jgravelle-google, sunfish, llvm-commits

Tags: #llvm

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