[PATCH] D62170: Add --reproduce to lld/wasm.

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 20 20:42:27 PDT 2019


ruiu created this revision.
ruiu added a reviewer: sbc100.
Herald added subscribers: sunfish, aheejin.
Herald added a project: LLVM.

--reproduce is a convenient option for debugging. If you invoke lld
with `--reproduce=repro.tar`, it creates `repro.tar` with all input
files and the command line options given to the linker, so that it is
very easy to run lld with the exact same inputs.

ELF and Windows lld have this option.

This patch add that option to lld/wasm.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D62170

Files:
  lld/test/wasm/reproduce.ll
  lld/wasm/Driver.cpp
  lld/wasm/InputFiles.cpp
  lld/wasm/InputFiles.h
  lld/wasm/Options.td

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62170.200395.patch
Type: text/x-patch
Size: 5341 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190521/c7aec4fe/attachment.bin>


More information about the llvm-commits mailing list