[PATCH] D65430: Add `--dependency-files` option, which is equivalent to compiler option -MD.

Petr Hosek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 8 12:53:00 PST 2019


phosek added a comment.

Has there been any progress on this? This need for this came out again in our build today: we currently generate input linker scripts that pull in the right library at link time (e.g. this would like `INPUT(/path/to/real/library.so)`). Our distributed build needs to know about all the files that are needed as input to send them over to the server, and these input linker scripts are currently posing a problem. We were hoping to use the depfile support to find all such files; the system already knows how to parse depfiles to handle header dependencies so there isn't any additional support needed there. We would really like to see this landed as it'd unblock our progress or having to come up with some custom solution like manually parsing the input linker scripts.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D65430





More information about the llvm-commits mailing list