[PATCH] D77187: [lld][WebAssembly] Add initial support for -Map/--print-map

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 14 21:12:46 PDT 2020


ruiu added inline comments.


================
Comment at: lld/test/wasm/map-file.s:27
+// CHECK:    Addr      Off     Size Out     In      Symbol
+// CHECK:       -        8        6 TYPE
+// CHECK:       -        e        5 FUNCTION
----------------
sbc100 wrote:
> ruiu wrote:
> > Hmm, what is "Off"? It looks like it is monotonically increasing, but I'm not sure what these numbers are.
> These are the offset in the wasm module on disk.
Maybe a noob question, but is that significant? For ELF and COFF, we emit an offset within an output section for each input section, but we don't print out an offset within a file.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D77187/new/

https://reviews.llvm.org/D77187





More information about the llvm-commits mailing list