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

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 15 10:57:06 PDT 2020


MaskRay added inline comments.


================
Comment at: lld/test/wasm/map-file.s:3
+// RUN: wasm-ld %t1.o -o %t -M | FileCheck -strict-whitespace %s
+// RUN: wasm-ld %t1.o -o %t -print-map | FileCheck -strict-whitespace %s
+// RUN: wasm-ld %t1.o -o %t -Map=%t.map
----------------
--match-full-lines --strip-whitespace

--strip-whitespace alone still ignores leading or trailing spaces.

See `test/ELF/map-file-64bit.s` for an example


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