[PATCH] D69607: Add a feature to explain why some file gets included to the linker's output

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 30 23:44:03 PDT 2019


MaskRay added inline comments.


================
Comment at: lld/ELF/Options.td:46
+defm explain:
+    Eq<"explain", "Explain why a given file gets linked to the final binary">,
+    MetaVarName<"<path>">;
----------------
It is not obvious that the user is supposed to specify `b.a(b.o)` for an object file in an archive or `b.o` for an object between `--start-lib` and `--end-lib`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D69607





More information about the llvm-commits mailing list