[PATCH] D77659: [ELF] Add reproduce test for dependent libraries

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 7 10:50:45 PDT 2020


MaskRay added a comment.

Thanks. Probably add `[test] ` to the title because there is no code change.



================
Comment at: lld/test/ELF/reproduce-deplibs.s:11
+
+# RUN: ld.lld bar.o --reproduce repro.tar
+# RUN: tar xf repro.tar
----------------
`-o /dev/null`


================
Comment at: lld/test/ELF/reproduce-deplibs.s:13
+# RUN: tar xf repro.tar
+# RUN: diff foo.a repro/%:t.dir/foo.a
+
----------------
`cmp` may be better for comparison between binary files.


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

https://reviews.llvm.org/D77659





More information about the llvm-commits mailing list