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

Peter Smith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 30 04:12:00 PDT 2019


peter.smith added a comment.

No objections to the idea in principle. I think it may need a bit of wider discussion to reach its full potential though. My understanding is that many developers use makefile/ninja generation systems such as cmake rather than hand-write the file themselves. As such would this get much use unless it was integrated into these generators? May be worth approaching them to see if they have any requirements/observations about the option?

I also think PCC has a good point about special characters and quoting, I'm no expert myself, and have been bitten by edge cases in the past, albeit these were usually routines that had to cope with Unix and Windows paths.


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